/[gxemul]/trunk/src/machines/machine_sparc.c
This is repository of my old source code which isn't updated any more. Go to git.rot13.org for current projects!
ViewVC logotype

Diff of /trunk/src/machines/machine_sparc.c

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 25 by dpavlin, Mon Oct 8 16:19:56 2007 UTC revision 26 by dpavlin, Mon Oct 8 16:20:10 2007 UTC
# Line 25  Line 25 
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.3 2006/06/24 10:19:19 debug Exp $
29   *   *
30   *  SPARC machines.   *  SPARC machines.
31   */   */
# Line 112  MACHINE_DEFAULT_RAM(sparc) Line 112  MACHINE_DEFAULT_RAM(sparc)
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    

Legend:
Removed from v.25  
changed lines
  Added in v.26

  ViewVC Help
Powered by ViewVC 1.1.26