summaryrefslogtreecommitdiff
path: root/target-i386
diff options
context:
space:
mode:
authorbellard <bellard@c046a42c-6fe2-441c-8c8c-71466251a162>2005-08-15 16:33:12 +0000
committerbellard <bellard@c046a42c-6fe2-441c-8c8c-71466251a162>2005-08-15 16:33:12 +0000
commit1f3358c87d50a6f10aea4d22a38fbe421f5e3873 (patch)
tree1025114ae37c4fd159f0e5388aa729edb446109c /target-i386
parent92510b8cf5a18e1671633fddb53599fb02936302 (diff)
CLFLUSH cpuid fix (aka Linux 2.6 hang on x86_64)
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@1539 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'target-i386')
-rw-r--r--target-i386/helper.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/target-i386/helper.c b/target-i386/helper.c
index 01b663f381..fd04430461 100644
--- a/target-i386/helper.c
+++ b/target-i386/helper.c
@@ -1307,7 +1307,7 @@ void helper_cpuid(void)
break;
case 1:
EAX = env->cpuid_version;
- EBX = 0;
+ EBX = 8 << 8; /* CLFLUSH size in quad words, Linux wants it. */
ECX = env->cpuid_ext_features;
EDX = env->cpuid_features;
break;