diff options
author | bellard <bellard@c046a42c-6fe2-441c-8c8c-71466251a162> | 2004-02-03 23:37:12 +0000 |
---|---|---|
committer | bellard <bellard@c046a42c-6fe2-441c-8c8c-71466251a162> | 2004-02-03 23:37:12 +0000 |
commit | 415e561f1de19e9fa609a58bec67c9b59fcdf726 (patch) | |
tree | cecce5c8f99cd0e3fbcb2ede1188c5e8aa5d0289 /linux-user | |
parent | ee8b7021da823e11e3c6ea9063ebb2ab50406a3e (diff) |
cleanup
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@599 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'linux-user')
-rw-r--r-- | linux-user/main.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/linux-user/main.c b/linux-user/main.c index 8bc57a9e94..171a1fe953 100644 --- a/linux-user/main.c +++ b/linux-user/main.c @@ -903,6 +903,9 @@ int main(int argc, char **argv) env->cr[0] = CR0_PG_MASK | CR0_WP_MASK | CR0_PE_MASK; env->hflags |= HF_PE_MASK; + /* flags setup : we activate the IRQs by default as in user mode */ + env->eflags |= IF_MASK; + /* linux register setup */ env->regs[R_EAX] = regs->eax; env->regs[R_EBX] = regs->ebx; |