提交 de758150 编写于 作者: B bellard

disabled LDT test (kqemu 0.7.2 no longer needs it)


git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@1569 c046a42c-6fe2-441c-8c8c-71466251a162
上级 7fa98e2a
......@@ -620,11 +620,7 @@ 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)
#if 1
&& (env->ldt.limit == 0 || env->ldt.limit == 0x27)
#endif
);
!(env->eflags & VM_MASK));
}
#endif
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册