mirror of
https://github.com/qemu/qemu.git
synced 2024-11-26 04:13:39 +08:00
temporary work around for 16 bit code in kqemu
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@1527 c046a42c-6fe2-441c-8c8c-71466251a162
This commit is contained in:
parent
108c49b8a2
commit
09d459a1db
@ -615,7 +615,8 @@ static inline int kqemu_is_ok(CPUState *env)
|
||||
(env->eflags & IOPL_MASK) != IOPL_MASK &&
|
||||
(env->cr[0] & CR0_PE_MASK) &&
|
||||
(env->eflags & IF_MASK) &&
|
||||
!(env->eflags & VM_MASK));
|
||||
!(env->eflags & VM_MASK) &&
|
||||
(env->ldt.limit == 0 || env->ldt.limit == 0x27));
|
||||
}
|
||||
|
||||
#endif
|
||||
|
Loading…
Reference in New Issue
Block a user