From 759cab343c7889f202954dde9453af9b83e88757 Mon Sep 17 00:00:00 2001 From: bellard Date: Wed, 27 Sep 2006 19:52:41 +0000 Subject: [PATCH] enabled PSE36 for x86_64 (fix for OpenSolaris as guest) --- target-i386/helper2.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/target-i386/helper2.c b/target-i386/helper2.c index f05ae4a6..dc6a5000 100644 --- a/target-i386/helper2.c +++ b/target-i386/helper2.c @@ -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); -- 2.39.5