diff options
Diffstat (limited to 'linux-user/main.c')
-rw-r--r-- | linux-user/main.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/linux-user/main.c b/linux-user/main.c index aa5923f..f2b83b0 100644 --- a/linux-user/main.c +++ b/linux-user/main.c @@ -1052,8 +1052,8 @@ 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; - + env->hflags |= HF_PE_MASK | HF_OSFXSR_MASK; + /* flags setup : we activate the IRQs by default as in user mode */ env->eflags |= IF_MASK; |