/[qemu]/qemu/target-arm/exec.h
ViewVC logotype

Diff of /qemu/target-arm/exec.h

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

revision 1.6 by bellard, Sun Oct 30 18:16:26 2005 UTC revision 1.7 by bellard, Sat Nov 26 10:38:39 2005 UTC
# Line 34  register uint32_t T2 asm(AREG3); Line 34  register uint32_t T2 asm(AREG3);
34  #include "cpu.h"  #include "cpu.h"
35  #include "exec-all.h"  #include "exec-all.h"
36    
 /* Implemented CPSR bits.  */  
 #define CACHED_CPSR_BITS 0xf8000000  
 static inline int compute_cpsr(void)  
 {  
     int ZF;  
     ZF = (env->NZF == 0);  
     return env->cpsr | (env->NZF & 0x80000000) | (ZF << 30) |  
         (env->CF << 29) | ((env->VF & 0x80000000) >> 3) | (env->QF << 27);  
 }  
   
37  static inline void env_to_regs(void)  static inline void env_to_regs(void)
38  {  {
39  }  }
# Line 55  static inline void regs_to_env(void) Line 45  static inline void regs_to_env(void)
45  int cpu_arm_handle_mmu_fault (CPUState *env, target_ulong address, int rw,  int cpu_arm_handle_mmu_fault (CPUState *env, target_ulong address, int rw,
46                                int is_user, int is_softmmu);                                int is_user, int is_softmmu);
47    
48    #if !defined(CONFIG_USER_ONLY)
49    #include "softmmu_exec.h"
50    #endif
51    
52  /* In op_helper.c */  /* In op_helper.c */
53    
54  void cpu_lock(void);  void cpu_lock(void);
55  void cpu_unlock(void);  void cpu_unlock(void);
56    void helper_set_cp15(CPUState *, uint32_t, uint32_t);
57    uint32_t helper_get_cp15(CPUState *, uint32_t);
58    
59  void cpu_loop_exit(void);  void cpu_loop_exit(void);
60    
61  void raise_exception(int);  void raise_exception(int);

Legend:
Removed from v.1.6  
changed lines
  Added in v.1.7

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26