Revision d0bdf2a2 target-i386/exec.h
b/target-i386/exec.h | ||
---|---|---|
578 | 578 |
|
579 | 579 |
static inline int cpu_halted(CPUState *env) { |
580 | 580 |
/* handle exit of HALTED state */ |
581 |
if (env->hflags & HF_HALTED_MASK)
|
|
581 |
if (!(env->hflags & HF_HALTED_MASK))
|
|
582 | 582 |
return 0; |
583 | 583 |
/* disable halt condition */ |
584 | 584 |
if ((env->interrupt_request & CPU_INTERRUPT_HARD) && |
Also available in: Unified diff