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

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

revision 25 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_mips.c,v 1.56 2006/06/22 13:22:41 debug Exp $   *  $Id: cpu_mips.c,v 1.58 2006/06/24 21:47:23 debug Exp $
29   *   *
30   *  MIPS core CPU emulation.   *  MIPS core CPU emulation.
31   */   */
# Line 53  Line 53 
53    
54    
55  extern volatile int single_step;  extern volatile int single_step;
 extern int old_show_trace_tree;  
 extern int old_instruction_trace;  
 extern int old_quiet_mode;  
 extern int quiet_mode;  
56    
57  static char *exception_names[] = EXCEPTION_NAMES;  static char *exception_names[] = EXCEPTION_NAMES;
58    
# Line 309  int mips_cpu_new(struct cpu *cpu, struct Line 305  int mips_cpu_new(struct cpu *cpu, struct
305    
306          switch (cpu->cd.mips.cpu_type.mmu_model) {          switch (cpu->cd.mips.cpu_type.mmu_model) {
307          case MMU3K:          case MMU3K:
308                  cpu->translate_address = translate_address_mmu3k;                  cpu->translate_v2p = translate_v2p_mmu3k;
309                  break;                  break;
310          case MMU8K:          case MMU8K:
311                  cpu->translate_address = translate_address_mmu8k;                  cpu->translate_v2p = translate_v2p_mmu8k;
312                  break;                  break;
313          case MMU10K:          case MMU10K:
314                  cpu->translate_address = translate_address_mmu10k;                  cpu->translate_v2p = translate_v2p_mmu10k;
315                  break;                  break;
316          default:          default:
317                  if (cpu->cd.mips.cpu_type.rev == MIPS_R4100)                  if (cpu->cd.mips.cpu_type.rev == MIPS_R4100)
318                          cpu->translate_address = translate_address_mmu4100;                          cpu->translate_v2p = translate_v2p_mmu4100;
319                  else                  else
320                          cpu->translate_address = translate_address_generic;                          cpu->translate_v2p = translate_v2p_generic;
321          }          }
322    
         mips_init_64bit_dummy_tables(cpu);  
   
323          return 1;          return 1;
324  }  }
325    

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

  ViewVC Help
Powered by ViewVC 1.1.26