/[gxemul]/trunk/src/machines/machine_macppc.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_macppc.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_macppc.c,v 1.4 2006/03/24 05:53:17 debug Exp $   *  $Id: machine_macppc.c,v 1.5 2006/06/24 10:19:19 debug Exp $
29   *   *
30   *  NOTE: Currently, these are skeletons for generic PowerMac G3, G4, and G5   *  NOTE: Currently, these are skeletons for generic PowerMac G3, G4, and G5
31   *        systems. They do not model real PowerMacs, but should be enough to   *        systems. They do not model real PowerMacs, but should be enough to
# Line 179  MACHINE_DEFAULT_RAM(macppc) Line 179  MACHINE_DEFAULT_RAM(macppc)
179    
180  MACHINE_REGISTER(macppc)  MACHINE_REGISTER(macppc)
181  {  {
182          MR_DEFAULT(macppc, "Macintosh", ARCH_PPC, MACHINE_MACPPC, 1, 3);          MR_DEFAULT(macppc, "Macintosh", ARCH_PPC, MACHINE_MACPPC);
183          me->aliases[0] = "macppc";  
184          me->subtype[0] = machine_entry_subtype_new("MacPPC G3",          machine_entry_add_alias(me, "macppc");
185              MACHINE_MACPPC_G3, 1);  
186          me->subtype[0]->aliases[0] = "g3";          machine_entry_add_subtype(me, "MacPPC G3", MACHINE_MACPPC_G3,
187          me->subtype[1] = machine_entry_subtype_new("MacPPC G4",              "g3", NULL);
188              MACHINE_MACPPC_G4, 1);  
189          me->subtype[1]->aliases[0] = "g4";          machine_entry_add_subtype(me, "MacPPC G4", MACHINE_MACPPC_G4,
190          me->subtype[2] = machine_entry_subtype_new("MacPPC G5",              "g4", NULL);
191              MACHINE_MACPPC_G5, 1);  
192          me->subtype[2]->aliases[0] = "g5";          machine_entry_add_subtype(me, "MacPPC G5", MACHINE_MACPPC_G5,
193                "g5", NULL);
194    
195          me->set_default_ram = machine_default_ram_macppc;          me->set_default_ram = machine_default_ram_macppc;
         machine_entry_add(me, ARCH_PPC);  
196  }  }
197    

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

  ViewVC Help
Powered by ViewVC 1.1.26