/[gxemul]/trunk/src/cpus/cpu_hppa.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_hppa.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 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_hppa.c,v 1.13 2006/06/16 18:31:25 debug Exp $   *  $Id: cpu_hppa.c,v 1.15 2006/07/16 13:32:26 debug Exp $
29   *   *
30   *  HP PA-RISC CPU emulation.   *  HP PA-RISC CPU emulation.
31   *   *
# Line 70  int hppa_cpu_new(struct cpu *cpu, struct Line 70  int hppa_cpu_new(struct cpu *cpu, struct
70          cpu->cd.hppa.bits = 32;          cpu->cd.hppa.bits = 32;
71    
72          if (cpu->is_32bit) {          if (cpu->is_32bit) {
73                    cpu->run_instr = hppa32_run_instr;
74                  cpu->update_translation_table = hppa32_update_translation_table;                  cpu->update_translation_table = hppa32_update_translation_table;
75                  cpu->invalidate_translation_caches =                  cpu->invalidate_translation_caches =
76                      hppa32_invalidate_translation_caches;                      hppa32_invalidate_translation_caches;
77                  cpu->invalidate_code_translation =                  cpu->invalidate_code_translation =
78                      hppa32_invalidate_code_translation;                      hppa32_invalidate_code_translation;
79          } else {          } else {
80                    cpu->run_instr = hppa_run_instr;
81                  cpu->update_translation_table = hppa_update_translation_table;                  cpu->update_translation_table = hppa_update_translation_table;
82                  cpu->invalidate_translation_caches =                  cpu->invalidate_translation_caches =
83                      hppa_invalidate_translation_caches;                      hppa_invalidate_translation_caches;
# Line 88  int hppa_cpu_new(struct cpu *cpu, struct Line 90  int hppa_cpu_new(struct cpu *cpu, struct
90                  debug("%s", cpu->name);                  debug("%s", cpu->name);
91          }          }
92    
         hppa_init_64bit_dummy_tables(cpu);  
   
93          return 1;          return 1;
94  }  }
95    

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

  ViewVC Help
Powered by ViewVC 1.1.26