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
This commit is contained in:
bellard 2005-08-15 16:33:12 +00:00
parent 92510b8cf5
commit 1f3358c87d

View File

@ -1307,7 +1307,7 @@ void helper_cpuid(void)
break; break;
case 1: case 1:
EAX = env->cpuid_version; EAX = env->cpuid_version;
EBX = 0; EBX = 8 << 8; /* CLFLUSH size in quad words, Linux wants it. */
ECX = env->cpuid_ext_features; ECX = env->cpuid_ext_features;
EDX = env->cpuid_features; EDX = env->cpuid_features;
break; break;