Diff for /qemu/target-sh4/exec.h between versions 1.1.1.6 and 1.1.1.7

version 1.1.1.6, 2018/04/24 18:24:55 version 1.1.1.7, 2018/04/24 18:56:57
Line 25 Line 25
 register struct CPUSH4State *env asm(AREG0);  register struct CPUSH4State *env asm(AREG0);
   
 #include "cpu.h"  #include "cpu.h"
 #include "exec-all.h"  
   
 static inline int cpu_has_work(CPUState *env)  
 {  
     return (env->interrupt_request & CPU_INTERRUPT_HARD);  
 }  
   
 static inline int cpu_halted(CPUState *env) {  
     if (!env->halted)  
         return 0;  
     if (cpu_has_work(env)) {  
         env->halted = 0;  
         env->intr_at_halt = 1;  
         return 0;  
     }  
     return EXCP_HALTED;  
 }  
   
 #ifndef CONFIG_USER_ONLY  #ifndef CONFIG_USER_ONLY
 #include "softmmu_exec.h"  #include "softmmu_exec.h"
 #endif  #endif
   
 static inline void cpu_pc_from_tb(CPUState *env, TranslationBlock *tb)  
 {  
     env->pc = tb->pc;  
     env->flags = tb->flags;  
 }  
   
 #endif                          /* _EXEC_SH4_H */  #endif                          /* _EXEC_SH4_H */

Removed from v.1.1.1.6  
changed lines
  Added in v.1.1.1.7


unix.superglobalmegacorp.com