/[gxemul]/trunk/src/machines/machine_x86.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_x86.c

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

revision 25 by dpavlin, Mon Oct 8 16:19:37 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_x86.c,v 1.1 2006/01/06 11:41:46 debug Exp $   *  $Id: machine_x86.c,v 1.2 2006/06/24 10:19:19 debug Exp $
29   */   */
30    
31  #include <stdio.h>  #include <stdio.h>
# Line 110  MACHINE_DEFAULT_RAM(x86) Line 110  MACHINE_DEFAULT_RAM(x86)
110  MACHINE_REGISTER(barex86)  MACHINE_REGISTER(barex86)
111  {  {
112          MR_DEFAULT(barex86, "Generic \"bare\" X86 machine", ARCH_X86,          MR_DEFAULT(barex86, "Generic \"bare\" X86 machine", ARCH_X86,
113              MACHINE_BAREX86, 1, 0);              MACHINE_BAREX86);
114          me->aliases[0] = "barex86";  
115          machine_entry_add(me, ARCH_X86);          machine_entry_add_alias(me, "barex86");
116  }  }
117    
118    
119  MACHINE_REGISTER(x86)  MACHINE_REGISTER(x86)
120  {  {
121          MR_DEFAULT(x86, "x86-based PC", ARCH_X86, MACHINE_X86, 2, 2);          MR_DEFAULT(x86, "x86-based PC", ARCH_X86, MACHINE_X86);
122          me->aliases[0] = "pc";  
123          me->aliases[1] = "x86";          machine_entry_add_alias(me, "pc");
124          me->subtype[0] = machine_entry_subtype_new("Generic PC",          machine_entry_add_alias(me, "x86");
125              MACHINE_X86_GENERIC, 2);  
126          me->subtype[0]->aliases[0] = "pc";          machine_entry_add_subtype(me, "Generic PC", MACHINE_X86_GENERIC,
127          me->subtype[0]->aliases[1] = "generic";              "pc", "generic", NULL);
128          me->subtype[1] = machine_entry_subtype_new("PC XT", MACHINE_X86_XT, 1);  
129          me->subtype[1]->aliases[0] = "xt";          machine_entry_add_subtype(me, "PC XT", MACHINE_X86_XT,
130                "xt", NULL);
131    
132          me->set_default_ram = machine_default_ram_x86;          me->set_default_ram = machine_default_ram_x86;
         machine_entry_add(me, ARCH_X86);  
133  }  }
134    

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

  ViewVC Help
Powered by ViewVC 1.1.26