/[gxemul]/trunk/src/cpus/cpu_sh.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_sh.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_sh.c,v 1.16 2006/06/24 21:47:23 debug Exp $   *  $Id: cpu_sh.c,v 1.17 2006/07/16 13:32:26 debug Exp $
29   *   *
30   *  Hitachi SuperH ("SH") CPU emulation.   *  Hitachi SuperH ("SH") CPU emulation.
31   *   *
# Line 71  int sh_cpu_new(struct cpu *cpu, struct m Line 71  int sh_cpu_new(struct cpu *cpu, struct m
71          cpu->cd.sh.compact = 1;          cpu->cd.sh.compact = 1;
72    
73          if (cpu->is_32bit) {          if (cpu->is_32bit) {
74                    cpu->run_instr = sh32_run_instr;
75                  cpu->update_translation_table = sh32_update_translation_table;                  cpu->update_translation_table = sh32_update_translation_table;
76                  cpu->invalidate_translation_caches =                  cpu->invalidate_translation_caches =
77                      sh32_invalidate_translation_caches;                      sh32_invalidate_translation_caches;
78                  cpu->invalidate_code_translation =                  cpu->invalidate_code_translation =
79                      sh32_invalidate_code_translation;                      sh32_invalidate_code_translation;
80          } else {          } else {
81                    cpu->run_instr = sh_run_instr;
82                  cpu->update_translation_table = sh_update_translation_table;                  cpu->update_translation_table = sh_update_translation_table;
83                  cpu->invalidate_translation_caches =                  cpu->invalidate_translation_caches =
84                      sh_invalidate_translation_caches;                      sh_invalidate_translation_caches;

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

  ViewVC Help
Powered by ViewVC 1.1.26