From 415e561f1de19e9fa609a58bec67c9b59fcdf726 Mon Sep 17 00:00:00 2001 From: bellard Date: Tue, 3 Feb 2004 23:37:12 +0000 Subject: cleanup git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@599 c046a42c-6fe2-441c-8c8c-71466251a162 --- linux-user/main.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'linux-user/main.c') 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; -- cgit v1.2.3