1 |
/* |
/* |
2 |
* Copyright (C) 2005-2006 Anders Gavare. All rights reserved. |
* Copyright (C) 2005-2007 Anders Gavare. All rights reserved. |
3 |
* |
* |
4 |
* Redistribution and use in source and binary forms, with or without |
* Redistribution and use in source and binary forms, with or without |
5 |
* modification, are permitted provided that the following conditions are met: |
* modification, are permitted provided that the following conditions are met: |
25 |
* SUCH DAMAGE. |
* SUCH DAMAGE. |
26 |
* |
* |
27 |
* |
* |
28 |
* $Id: machine_walnut.c,v 1.1 2006/01/06 13:03:57 debug Exp $ |
* $Id: machine_walnut.c,v 1.4 2007/01/21 21:02:57 debug Exp $ |
29 |
|
* |
30 |
|
* TODO: Other evbppc machines? |
31 |
*/ |
*/ |
32 |
|
|
33 |
#include <stdio.h> |
#include <stdio.h> |
39 |
#include "device.h" |
#include "device.h" |
40 |
#include "devices.h" |
#include "devices.h" |
41 |
#include "machine.h" |
#include "machine.h" |
|
#include "machine_interrupts.h" |
|
42 |
#include "memory.h" |
#include "memory.h" |
43 |
#include "misc.h" |
#include "misc.h" |
44 |
|
|
83 |
|
|
84 |
MACHINE_REGISTER(walnut) |
MACHINE_REGISTER(walnut) |
85 |
{ |
{ |
86 |
MR_DEFAULT(walnut, "Walnut evaluation board", ARCH_PPC, |
MR_DEFAULT(walnut, "Walnut evaluation board", ARCH_PPC, MACHINE_WALNUT); |
87 |
MACHINE_WALNUT, 2, 0); |
|
88 |
me->aliases[0] = "evbppc"; |
machine_entry_add_alias(me, "evbppc"); |
89 |
me->aliases[1] = "walnut"; |
machine_entry_add_alias(me, "walnut"); |
|
machine_entry_add(me, ARCH_PPC); |
|
90 |
} |
} |
91 |
|
|