/[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 27 by dpavlin, Mon Oct 8 16:20:10 2007 UTC revision 28 by dpavlin, Mon Oct 8 16:20:26 2007 UTC
# Line 25  Line 25 
25   *  SUCH DAMAGE.   *  SUCH DAMAGE.
26   *   *
27   *   *
28   *  $Id: cpu_x86.c,v 1.16 2006/06/24 21:47:23 debug Exp $   *  $Id: cpu_x86.c,v 1.17 2006/07/16 13:32:26 debug Exp $
29   *   *
30   *  x86 (and amd64) CPU emulation.   *  x86 (and amd64) CPU emulation.
31   *   *
# Line 124  int x86_cpu_new(struct cpu *cpu, struct Line 124  int x86_cpu_new(struct cpu *cpu, struct
124              1 : 0;              1 : 0;
125    
126          if (cpu->is_32bit) {          if (cpu->is_32bit) {
127                    cpu->run_instr = x8632_run_instr;
128                  cpu->update_translation_table = x8632_update_translation_table;                  cpu->update_translation_table = x8632_update_translation_table;
129                  cpu->invalidate_translation_caches =                  cpu->invalidate_translation_caches =
130                      x8632_invalidate_translation_caches;                      x8632_invalidate_translation_caches;
131                  cpu->invalidate_code_translation =                  cpu->invalidate_code_translation =
132                      x8632_invalidate_code_translation;                      x8632_invalidate_code_translation;
133          } else {          } else {
134                    cpu->run_instr = x86_run_instr;
135                  cpu->update_translation_table = x86_update_translation_table;                  cpu->update_translation_table = x86_update_translation_table;
136                  cpu->invalidate_translation_caches =                  cpu->invalidate_translation_caches =
137                      x86_invalidate_translation_caches;                      x86_invalidate_translation_caches;

Legend:
Removed from v.27  
changed lines
  Added in v.28

  ViewVC Help
Powered by ViewVC 1.1.26