diff options
author | bellard <bellard@c046a42c-6fe2-441c-8c8c-71466251a162> | 2004-01-04 18:08:37 +0000 |
---|---|---|
committer | bellard <bellard@c046a42c-6fe2-441c-8c8c-71466251a162> | 2004-01-04 18:08:37 +0000 |
commit | 75c6215f9802657175c78fa84c2ffcc0ab905f4b (patch) | |
tree | efb1c3f7841ffd47d2ab417bbdae2ab44e206a77 /linux-user | |
parent | 6b136f9e8f3934f50e07a01b537ade3b57f6b2ce (diff) |
correct cpu state
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@521 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'linux-user')
-rw-r--r-- | linux-user/main.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/linux-user/main.c b/linux-user/main.c index bc19c645f6..2c9fe3cd64 100644 --- a/linux-user/main.c +++ b/linux-user/main.c @@ -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; |