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.")
47
+
}
48
+
STRUCTURED_EXTENDED_FEATURE_FLAGS => {
49
+
// nothing here seems to suspicious so just return actual:
50
+
actual
51
+
}
52
+
ARCHITECTURAL_PERFORMANCE => {
53
+
// For now I assume performance counters are unsupported, but if one wanted
54
+
// to support performance counters this would need to be handled here, and other places
55
+
actual
56
+
}
57
+
EXTENDED_TOPOLOGY_ENUMERATION => {
58
+
todo!("This basically requires APIC stuff to be done.")
50
59
}
51
-
CPUID_BRAND_STRING_1..=CPUID_BRAND_STRING_2 => {
60
+
PROCESSOR_EXTENDED_STATE_ENUMERATION => {
61
+
actual
62
+
}
63
+
// There are bunch more leaves after PROCESSOR_EXTENDED_STATE_ENUMERATION, however most of them seem unlikely to be used/ not relevant
64
+
V2_EXTENDED_TOPOLOGY_ENUMERATION => {
65
+
todo!("Requires APIC")
66
+
}
67
+
0x40000000..=0x4FFFFFFF=> {
68
+
// these are software reserved.
69
+
actual
70
+
}
71
+
EXTENDED_FUNCTION_CPUID_INFORMATION => {
72
+
CpuIdResult{
73
+
eax:MAX_CPUID_INPUT,
74
+
ebx:0,
75
+
ecx:0,
76
+
edx:0
77
+
}
78
+
}
79
+
CPUID_BRAND_STRING_1..=CPUID_BRAND_STRING_3 => {
52
80
if vcpu.vm.read().config.override_cpu_name(){todo!("CPU Brand string not implemented yet")}
0 commit comments