1 |
/* |
/* |
2 |
* Copyright (C) 2006 Anders Gavare. All rights reserved. |
* Copyright (C) 2006-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_sparc.c,v 1.2 2006/05/17 20:27:31 debug Exp $ |
* $Id: machine_sparc.c,v 1.4 2006/12/30 13:31:02 debug Exp $ |
29 |
* |
* |
30 |
* SPARC machines. |
* SPARC machines. |
31 |
*/ |
*/ |
112 |
|
|
113 |
MACHINE_REGISTER(sparc) |
MACHINE_REGISTER(sparc) |
114 |
{ |
{ |
115 |
MR_DEFAULT(sparc, "SPARC", ARCH_SPARC, MACHINE_SPARC, 1, 4); |
MR_DEFAULT(sparc, "SPARC", ARCH_SPARC, MACHINE_SPARC); |
116 |
|
|
117 |
me->aliases[0] = "sparc"; |
machine_entry_add_alias(me, "sparc"); |
118 |
|
|
119 |
me->subtype[0] = machine_entry_subtype_new( |
machine_entry_add_subtype(me, "SUN SPARCstation 5", MACHINE_SPARC_SS5, |
120 |
"SUN SPARCstation 5", MACHINE_SPARC_SS5, 1); |
"ss5", "sparcstation5", NULL); |
|
me->subtype[0]->aliases[0] = "ss5"; |
|
121 |
|
|
122 |
me->subtype[1] = machine_entry_subtype_new( |
machine_entry_add_subtype(me, "SUN SPARCstation 20", MACHINE_SPARC_SS20, |
123 |
"SUN SPARCstation 20", MACHINE_SPARC_SS20, 1); |
"ss20", "sparcstation20", NULL); |
|
me->subtype[1]->aliases[0] = "ss20"; |
|
124 |
|
|
125 |
me->subtype[2] = machine_entry_subtype_new( |
machine_entry_add_subtype(me, "SUN Ultra1", MACHINE_SPARC_ULTRA1, |
126 |
"SUN Ultra1", MACHINE_SPARC_ULTRA1, 1); |
"ultra1", NULL); |
|
me->subtype[2]->aliases[0] = "ultra1"; |
|
127 |
|
|
128 |
me->subtype[3] = machine_entry_subtype_new( |
machine_entry_add_subtype(me, "SUN Ultra60", MACHINE_SPARC_ULTRA60, |
129 |
"SUN Ultra60", MACHINE_SPARC_ULTRA60, 1); |
"ultra60", NULL); |
|
me->subtype[3]->aliases[0] = "ultra60"; |
|
130 |
|
|
131 |
me->set_default_ram = machine_default_ram_sparc; |
me->set_default_ram = machine_default_ram_sparc; |
|
|
|
|
machine_entry_add(me, ARCH_SPARC); |
|
132 |
} |
} |
133 |
|
|