mirror of https://gitee.com/openkylin/qemu.git
Fix typo.
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@2941 c046a42c-6fe2-441c-8c8c-71466251a162
This commit is contained in:
parent
9467d44c4d
commit
d0bdf2a28b
|
@ -578,7 +578,7 @@ static inline void regs_to_env(void)
|
|||
|
||||
static inline int cpu_halted(CPUState *env) {
|
||||
/* handle exit of HALTED state */
|
||||
if (env->hflags & HF_HALTED_MASK)
|
||||
if (!(env->hflags & HF_HALTED_MASK))
|
||||
return 0;
|
||||
/* disable halt condition */
|
||||
if ((env->interrupt_request & CPU_INTERRUPT_HARD) &&
|
||||
|
|
Loading…
Reference in New Issue