You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
todo!("Portions of this output are per core, but presumably we don't support this. Additionally there is stuff about APIC timers here, also unsure if supported.")
48
+
}
49
+
STRUCTURED_EXTENDED_FEATURE_FLAGS => {
50
+
// nothing here seems to suspicious so just return actual:
51
+
actual
52
+
}
53
+
ARCHITECTURAL_PERFORMANCE => {
54
+
// For now I assume performance counters are unsupported, but if one wanted
55
+
// to support performance counters this would need to be handled here, and other places
56
+
actual
57
+
}
58
+
EXTENDED_TOPOLOGY_ENUMERATION => {
59
+
todo!("This basically requires APIC stuff to be done.")
51
60
}
52
-
CPUID_BRAND_STRING_1..=CPUID_BRAND_STRING_2 => {
61
+
PROCESSOR_EXTENDED_STATE_ENUMERATION => {
62
+
actual
63
+
}
64
+
// There are bunch more leaves after PROCESSOR_EXTENDED_STATE_ENUMERATION, however most of them seem unlikely to be used/ not relevant
65
+
V2_EXTENDED_TOPOLOGY_ENUMERATION => {
66
+
todo!("Requires APIC")
67
+
}
68
+
0x40000000..=0x4FFFFFFF=> {
69
+
// these are software reserved.
70
+
actual
71
+
}
72
+
EXTENDED_FUNCTION_CPUID_INFORMATION => {
73
+
CpuIdResult{
74
+
eax:MAX_CPUID_INPUT,
75
+
ebx:0,
76
+
ecx:0,
77
+
edx:0
78
+
}
79
+
}
80
+
CPUID_BRAND_STRING_1..=CPUID_BRAND_STRING_3 => {
53
81
if vcpu.vm.read().config.override_cpu_name(){todo!("CPU Brand string not implemented yet")}
0 commit comments