mirror of https://github.com/xemu-project/xemu.git
correct cpu state
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@521 c046a42c-6fe2-441c-8c8c-71466251a162
This commit is contained in:
parent
6b136f9e8f
commit
75c6215f98
|
@ -674,6 +674,7 @@ int main(int argc, char **argv)
|
|||
cpu_x86_set_cpl(env, 3);
|
||||
|
||||
env->cr[0] = CR0_PG_MASK | CR0_WP_MASK | CR0_PE_MASK;
|
||||
env->hflags |= HF_PE_MASK;
|
||||
|
||||
/* linux register setup */
|
||||
env->regs[R_EAX] = regs->eax;
|
||||
|
|
Loading…
Reference in New Issue