Commit 58012d66 authored by Andre Przywara's avatar Andre Przywara Committed by Aurelien Jarno
Browse files

x86/cpuid: fix CPUID levels



Bump up the xlevel number for qemu32 to allow parsing of the processor
name string for this model.
Similiarly the 486 processor should have at least the feature bit
leaf enabled.
Signed-off-by: default avatarAndre Przywara <andre.przywara@amd.com>
Signed-off-by: default avatarAurelien Jarno <aurelien@aurel32.net>
parent d3bf5915
......@@ -357,7 +357,7 @@ static x86_def_t builtin_x86_defs[] = {
.stepping = 3,
.features = PPRO_FEATURES,
.ext_features = CPUID_EXT_SSE3 | CPUID_EXT_POPCNT,
.xlevel = 0,
.xlevel = 0x80000004,
.model_id = "QEMU Virtual CPU version " QEMU_VERSION,
},
{
......@@ -381,7 +381,7 @@ static x86_def_t builtin_x86_defs[] = {
},
{
.name = "486",
.level = 0,
.level = 1,
.family = 4,
.model = 0,
.stepping = 0,
......
Markdown is supported
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