aboutsummaryrefslogtreecommitdiff
path: root/linux-user/main.c
diff options
context:
space:
mode:
authorbellard <bellard@c046a42c-6fe2-441c-8c8c-71466251a162>2005-01-08 18:58:29 +0000
committerbellard <bellard@c046a42c-6fe2-441c-8c8c-71466251a162>2005-01-08 18:58:29 +0000
commit664e0f195adda3cf01b40d8d1aa79bbc24ad5fab (patch)
tree475f61c819e3a40a476e49c2760dfd43f06438c8 /linux-user/main.c
parent085339a12b448a64527ce4fdb6e1d43addbb16dc (diff)
MMX/SSE support
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@1205 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'linux-user/main.c')
-rw-r--r--linux-user/main.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/linux-user/main.c b/linux-user/main.c
index aa5923f844..f2b83b0c27 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;