diff options
author | bellard <bellard@c046a42c-6fe2-441c-8c8c-71466251a162> | 2005-07-24 14:14:53 +0000 |
---|---|---|
committer | bellard <bellard@c046a42c-6fe2-441c-8c8c-71466251a162> | 2005-07-24 14:14:53 +0000 |
commit | 09d459a1db9b19d1ff66e98620f1ea16aba379de (patch) | |
tree | 122dddc525acfae1c6b284f20cef8decd606cfc4 /exec-all.h | |
parent | 108c49b8a20a535219037b522019d9b57051e8e8 (diff) | |
download | hqemu-09d459a1db9b19d1ff66e98620f1ea16aba379de.zip hqemu-09d459a1db9b19d1ff66e98620f1ea16aba379de.tar.gz |
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
Diffstat (limited to 'exec-all.h')
-rw-r--r-- | exec-all.h | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -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 |