Diff for /qemu/target-ppc/exec.h between versions 1.1.1.9 and 1.1.1.10

version 1.1.1.9, 2018/04/24 18:40:39 version 1.1.1.10, 2018/04/24 19:02:36
Line 24 Line 24
 #include "dyngen-exec.h"  #include "dyngen-exec.h"
   
 #include "cpu.h"  #include "cpu.h"
 #include "exec-all.h"  
   
 register struct CPUPPCState *env asm(AREG0);  register struct CPUPPCState *env asm(AREG0);
   
Line 32  register struct CPUPPCState *env asm(ARE Line 31  register struct CPUPPCState *env asm(ARE
 #include "softmmu_exec.h"  #include "softmmu_exec.h"
 #endif /* !defined(CONFIG_USER_ONLY) */  #endif /* !defined(CONFIG_USER_ONLY) */
   
 static inline int cpu_has_work(CPUState *env)  
 {  
     return (msr_ee && (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;  
         return 0;  
     }  
     return EXCP_HALTED;  
 }  
   
 static inline void cpu_pc_from_tb(CPUState *env, TranslationBlock *tb)  
 {  
     env->nip = tb->pc;  
 }  
   
 #endif /* !defined (__PPC_H__) */  #endif /* !defined (__PPC_H__) */

Removed from v.1.1.1.9  
changed lines
  Added in v.1.1.1.10


unix.superglobalmegacorp.com