Commit 1f3358c8 authored by bellard's avatar bellard
Browse files

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
parent 92510b8c
......@@ -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;
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment