/[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 35 by dpavlin, Mon Oct 8 16:21:17 2007 UTC revision 36 by dpavlin, Mon Oct 8 16:21:34 2007 UTC
# Line 25  Line 25 
25   *  SUCH DAMAGE.   *  SUCH DAMAGE.
26   *     *  
27   *   *
28   *  $Id: machine_sparc.c,v 1.4 2006/12/30 13:31:02 debug Exp $   *  $Id: machine_sparc.c,v 1.5 2007/03/15 15:42:58 debug Exp $
29   *   *
30   *  SPARC machines.   *  SPARC machines.
31   */   */
# Line 66  MACHINE_SETUP(sparc) Line 66  MACHINE_SETUP(sparc)
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);
# Line 97  MACHINE_DEFAULT_CPU(sparc) Line 102  MACHINE_DEFAULT_CPU(sparc)
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);
# Line 128  MACHINE_REGISTER(sparc) Line 137  MACHINE_REGISTER(sparc)
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    

Legend:
Removed from v.35  
changed lines
  Added in v.36

  ViewVC Help
Powered by ViewVC 1.1.26