Revision 3110e292 target-s390x/exec.h

b/target-s390x/exec.h
31 31

  
32 32
static inline int cpu_has_work(CPUState *env)
33 33
{
34
    return env->interrupt_request & CPU_INTERRUPT_HARD; // guess
34
    return ((env->interrupt_request & CPU_INTERRUPT_HARD) &&
35
            (env->psw.mask & PSW_MASK_EXT));
36
}
37

  
38
static inline void regs_to_env(void)
39
{
40
}
41

  
42
static inline void env_to_regs(void)
43
{
35 44
}
36 45

  
37 46
static inline void cpu_pc_from_tb(CPUState *env, TranslationBlock* tb)

Also available in: Unified diff