CPUID returns CPU Features in EDX and extended features in ECX

No functional changes

Change-Id: I98a9e5c9658a5464ba6fa71bc5d2c5d646a57ab1
Reviewed-on: https://review.haiku-os.org/c/haiku/+/7672
Tested-by: Commit checker robot <[email protected]>
Reviewed-by: Adrien Destugues <[email protected]>
This commit is contained in:
Daniel Martin
2024-05-17 17:25:26 +00:00
committed by waddlesplash
parent 446ff222af
commit 370dde2255
+2 -2
View File
@@ -496,8 +496,8 @@ typedef struct x86_cpu_module_info {
// features
enum x86_feature_type {
FEATURE_COMMON = 0, // cpuid eax=1, ecx register
FEATURE_EXT, // cpuid eax=1, edx register
FEATURE_COMMON = 0, // cpuid eax=1, edx register
FEATURE_EXT, // cpuid eax=1, ecx register
FEATURE_EXT_AMD_ECX, // cpuid eax=0x80000001, ecx register (AMD)
FEATURE_EXT_AMD, // cpuid eax=0x80000001, edx register (AMD)
FEATURE_5_ECX, // cpuid eax=5, ecx register