enabled PSE36 for x86_64 (fix for OpenSolaris as guest)
authorbellard <bellard@c046a42c-6fe2-441c-8c8c-71466251a162>
Wed, 27 Sep 2006 19:52:41 +0000 (19:52 +0000)
committerbellard <bellard@c046a42c-6fe2-441c-8c8c-71466251a162>
Wed, 27 Sep 2006 19:52:41 +0000 (19:52 +0000)
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@2182 c046a42c-6fe2-441c-8c8c-71466251a162

target-i386/helper2.c

index f05ae4a..dc6a500 100644 (file)
@@ -135,6 +135,8 @@ CPUX86State *cpu_x86_init(void)
 
         /* these features are needed for Win64 and aren't fully implemented */
         env->cpuid_features |= CPUID_MTRR | CPUID_CLFLUSH | CPUID_MCA;
+        /* this feature is needed for Solaris and isn't fully implemented */
+        env->cpuid_features |= CPUID_PSE36;
 #endif
     }
     cpu_reset(env);