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.3 2006/06/24 10:19:19 debug Exp $ |
* $Id: machine_sparc.c,v 1.5 2007/03/15 15:42:58 debug Exp $ |
29 |
* |
* |
30 |
* SPARC machines. |
* SPARC machines. |
31 |
*/ |
*/ |
66 |
|
|
67 |
break; |
break; |
68 |
|
|
69 |
|
case MACHINE_SPARC_SUN4V: |
70 |
|
machine->machine_name = "SUN Generic sun4v"; |
71 |
|
|
72 |
|
break; |
73 |
|
|
74 |
default:fatal("Unimplemented SPARC machine subtype %i\n", |
default:fatal("Unimplemented SPARC machine subtype %i\n", |
75 |
machine->machine_subtype); |
machine->machine_subtype); |
76 |
exit(1); |
exit(1); |
102 |
machine->cpu_name = strdup("UltraSPARC-II"); |
machine->cpu_name = strdup("UltraSPARC-II"); |
103 |
break; |
break; |
104 |
|
|
105 |
|
case MACHINE_SPARC_SUN4V: |
106 |
|
machine->cpu_name = strdup("T1"); |
107 |
|
break; |
108 |
|
|
109 |
default:fatal("Unimplemented SPARC machine subtype %i\n", |
default:fatal("Unimplemented SPARC machine subtype %i\n", |
110 |
machine->machine_subtype); |
machine->machine_subtype); |
111 |
exit(1); |
exit(1); |
137 |
machine_entry_add_subtype(me, "SUN Ultra60", MACHINE_SPARC_ULTRA60, |
machine_entry_add_subtype(me, "SUN Ultra60", MACHINE_SPARC_ULTRA60, |
138 |
"ultra60", NULL); |
"ultra60", NULL); |
139 |
|
|
140 |
|
machine_entry_add_subtype(me, "SUN Generic sun4v", MACHINE_SPARC_SUN4V, |
141 |
|
"sun4v", NULL); |
142 |
|
|
143 |
me->set_default_ram = machine_default_ram_sparc; |
me->set_default_ram = machine_default_ram_sparc; |
144 |
} |
} |
145 |
|
|