/[dynamips]/trunk/cpu.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/cpu.c

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

upstream/dynamips-0.2.7-RC2/cpu.c revision 8 by dpavlin, Sat Oct 6 16:24:54 2007 UTC upstream/dynamips-0.2.7-RC3/cpu.c revision 9 by dpavlin, Sat Oct 6 16:26:06 2007 UTC
# Line 148  cpu_gen_t *cpu_create(vm_instance_t *vm, Line 148  cpu_gen_t *cpu_create(vm_instance_t *vm,
148    
149     switch(cpu->type) {     switch(cpu->type) {
150        case CPU_TYPE_MIPS64:        case CPU_TYPE_MIPS64:
151             cpu->jit_op_array_size = MIPS_INSN_PER_PAGE;
152           CPU_MIPS64(cpu)->vm = vm;           CPU_MIPS64(cpu)->vm = vm;
153           CPU_MIPS64(cpu)->gen = cpu;           CPU_MIPS64(cpu)->gen = cpu;
154           mips64_init(CPU_MIPS64(cpu));           mips64_init(CPU_MIPS64(cpu));
# Line 161  cpu_gen_t *cpu_create(vm_instance_t *vm, Line 162  cpu_gen_t *cpu_create(vm_instance_t *vm,
162           break;           break;
163    
164        case CPU_TYPE_PPC32:        case CPU_TYPE_PPC32:
165             cpu->jit_op_array_size = PPC32_INSN_PER_PAGE;
166           CPU_PPC32(cpu)->vm = vm;           CPU_PPC32(cpu)->vm = vm;
167           CPU_PPC32(cpu)->gen = cpu;           CPU_PPC32(cpu)->gen = cpu;
168           ppc32_init(CPU_PPC32(cpu));           ppc32_init(CPU_PPC32(cpu));

Legend:
Removed from v.8  
changed lines
  Added in v.9

  ViewVC Help
Powered by ViewVC 1.1.26