/[gxemul]/trunk/src/cpus/cpu_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/cpus/cpu_x86.c

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

revision 24 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: cpu_x86.c,v 1.15 2006/06/16 18:31:26 debug Exp $   *  $Id: cpu_x86.c,v 1.16 2006/06/24 21:47:23 debug Exp $
29   *   *
30   *  x86 (and amd64) CPU emulation.   *  x86 (and amd64) CPU emulation.
31   *   *
# Line 95  int x86_cpu_new(struct cpu *cpu, struct Line 95  int x86_cpu_new(struct cpu *cpu, struct
95    
96          cpu->cd.x86.model = models[i];          cpu->cd.x86.model = models[i];
97    
98          cpu->translate_address = x86_translate_address;          cpu->translate_v2p = x86_translate_v2p;
99    
100          /*  Initial startup is in 16-bit real mode:  */          /*  Initial startup is in 16-bit real mode:  */
101          cpu->pc = 0xfff0;          cpu->pc = 0xfff0;
# Line 142  int x86_cpu_new(struct cpu *cpu, struct Line 142  int x86_cpu_new(struct cpu *cpu, struct
142                  debug("%s", cpu->name);                  debug("%s", cpu->name);
143          }          }
144    
         x86_init_64bit_dummy_tables(cpu);  
   
145          return 1;          return 1;
146  }  }
147    
# Line 3164  cpu->machine->isa_pic_data.pic2->irr, cp Line 3162  cpu->machine->isa_pic_data.pic2->irr, cp
3162  }  }
3163    
3164    
3165  #define TRANSLATE_ADDRESS       x86_translate_address  #define TRANSLATE_ADDRESS       x86_translate_v2p
3166  #include "memory_x86.c"  #include "memory_x86.c"
3167  #undef TRANSLATE_ADDRESS  #undef TRANSLATE_ADDRESS
3168    

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

  ViewVC Help
Powered by ViewVC 1.1.26