/[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 43 by dpavlin, Mon Oct 8 16:22:32 2007 UTC revision 44 by dpavlin, Mon Oct 8 16:22:56 2007 UTC
# Line 25  Line 25 
25   *  SUCH DAMAGE.   *  SUCH DAMAGE.
26   *   *
27   *   *
28   *  $Id: cpu_sh.c,v 1.75 2007/06/07 15:36:24 debug Exp $   *  $Id: cpu_sh.c,v 1.76 2007/06/28 13:36:47 debug Exp $
29   *   *
30   *  Hitachi SuperH ("SH") CPU emulation.   *  Hitachi SuperH ("SH") CPU emulation.
31   *   *
# Line 50  Line 50 
50  #include "misc.h"  #include "misc.h"
51  #include "settings.h"  #include "settings.h"
52  #include "symbol.h"  #include "symbol.h"
 #include "timer.h"  
53    
54  #include "sh4_exception.h"  #include "sh4_exception.h"
55  #include "sh4_mmu.h"  #include "sh4_mmu.h"
# Line 62  Line 61 
61    
62    
63  extern int quiet_mode;  extern int quiet_mode;
 extern int native_code_translation_enabled;  
64    
65  void sh_pc_to_pointers(struct cpu *);  void sh_pc_to_pointers(struct cpu *);
66    
# Line 224  int sh_cpu_new(struct cpu *cpu, struct m Line 222  int sh_cpu_new(struct cpu *cpu, struct m
222    
223          sh_update_interrupt_priorities(cpu);          sh_update_interrupt_priorities(cpu);
224    
         if (native_code_translation_enabled)  
                 cpu->sampling_timer = timer_add(CPU_SAMPLE_TIMER_HZ,  
                     sh_timer_sample_tick, cpu);  
   
225          return 1;          return 1;
226  }  }
227    

Legend:
Removed from v.43  
changed lines
  Added in v.44

  ViewVC Help
Powered by ViewVC 1.1.26