/[gxemul]/trunk/src/cpus/cpu_arm.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_arm.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_arm.c,v 1.71 2007/06/15 00:41:21 debug Exp $   *  $Id: cpu_arm.c,v 1.72 2007/06/28 13:36:46 debug Exp $
29   *   *
30   *  ARM CPU emulation.   *  ARM CPU emulation.
31   *   *
# Line 50  Line 50 
50  #include "of.h"  #include "of.h"
51  #include "settings.h"  #include "settings.h"
52  #include "symbol.h"  #include "symbol.h"
 #include "timer.h"  
53  #include "useremul.h"  #include "useremul.h"
54    
55  #define DYNTRANS_32  #define DYNTRANS_32
56  #include "tmp_arm_head.c"  #include "tmp_arm_head.c"
57    
58    
 extern int native_code_translation_enabled;  
   
59  /*  ARM symbolic register names and condition strings:  */  /*  ARM symbolic register names and condition strings:  */
60  static char *arm_regname[N_ARM_REGS] = ARM_REG_NAMES;  static char *arm_regname[N_ARM_REGS] = ARM_REG_NAMES;
61  static char *arm_condition_string[16] = ARM_CONDITION_STRINGS;  static char *arm_condition_string[16] = ARM_CONDITION_STRINGS;
# Line 195  int arm_cpu_new(struct cpu *cpu, struct Line 192  int arm_cpu_new(struct cpu *cpu, struct
192                  /*  FIQ: TODO  */                  /*  FIQ: TODO  */
193          }          }
194    
         if (native_code_translation_enabled)  
                 cpu->sampling_timer = timer_add(CPU_SAMPLE_TIMER_HZ,  
                     arm_timer_sample_tick, cpu);  
   
195          return 1;          return 1;
196  }  }
197    

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

  ViewVC Help
Powered by ViewVC 1.1.26