|
enum | Function : uint32_t {
HIGHEST_FUNCTION_PARAMETER = 0x0U
,
MANUFACTURER_ID = 0x0U
,
PROCESSOR_INFO = 0x1U
,
FEATURE_BITS = 0x1U
,
CACHE_INFORMATION = 0x2U
,
PROCESSOR_SERIAL_NUMBER = 0x3U
,
HIGHEST_EXTENDED_FUNCTION = 0x80000000U
,
EXTENDED_PROCESSOR_INFO = 0x80000001U
,
EXTENDED_FEATURE_BITS = 0x80000001U
,
PROCESSOR_BRAND_STRING_1 = 0x80000002U
,
PROCESSOR_BRAND_STRING_2 = 0x80000003U
,
PROCESSOR_BRAND_STRING_3 = 0x80000004U
,
ADVANCED_POWER_MANAGEMENT = 0x80000007U
,
ADDRESS_SIZES = 0x80000008U
} |
|
enum | FeatureECX : uint32_t {
FEATURE_SSE3 = 1U << 0
,
FEATURE_PCLMUL = 1U << 1
,
FEATURE_DTES64 = 1U << 2
,
FEATURE_MONITOR = 1U << 3
,
FEATURE_DS_CPL = 1U << 4
,
FEATURE_VMX = 1U << 5
,
FEATURE_SMX = 1U << 6
,
FEATURE_EST = 1U << 7
,
FEATURE_TM2 = 1U << 8
,
FEATURE_SSSE3 = 1U << 9
,
FEATURE_CID = 1U << 10
,
FEATURE_SDBG = 1U << 11
,
FEATURE_FMA = 1U << 12
,
FEATURE_CX16 = 1U << 13
,
FEATURE_ETPRD = 1U << 14
,
FEATURE_PDCM = 1U << 15
,
FEATURE_PCIDE = 1U << 17
,
FEATURE_DCA = 1U << 18
,
FEATURE_SSE4_1 = 1U << 19
,
FEATURE_SSE4_2 = 1U << 20
,
FEATURE_X2APIC = 1U << 21
,
FEATURE_MOVBE = 1U << 22
,
FEATURE_POPCNT = 1U << 23
,
FEATURE_TSC_DEADLINE = 1U << 24
,
FEATURE_AES = 1U << 25
,
FEATURE_XSAVE = 1U << 26
,
FEATURE_OSXSAVE = 1U << 27
,
FEATURE_AVX = 1U << 28
,
FEATURE_F16C = 1U << 29
,
FEATURE_RDRND = 1U << 30
,
FEATURE_HYPERVISOR = 1U << 31
} |
|
enum | FeatureEDX : uint32_t {
FEATURE_FPU = 1U << 0
,
FEATURE_VME = 1U << 1
,
FEATURE_DE = 1U << 2
,
FEATURE_PSE = 1U << 3
,
FEATURE_TSC = 1U << 4
,
FEATURE_MSR = 1U << 5
,
FEATURE_PAE = 1U << 6
,
FEATURE_MCE = 1U << 7
,
FEATURE_CX8 = 1U << 8
,
FEATURE_APIC = 1U << 9
,
FEATURE_SEP = 1U << 11
,
FEATURE_MTRR = 1U << 12
,
FEATURE_PGE = 1U << 13
,
FEATURE_MCA = 1U << 14
,
FEATURE_CMOV = 1U << 15
,
FEATURE_PAT = 1U << 16
,
FEATURE_PSE36 = 1U << 17
,
FEATURE_PSN = 1U << 18
,
FEATURE_CLF = 1U << 19
,
FEATURE_DTES = 1U << 21
,
FEATURE_ACPI = 1U << 22
,
FEATURE_MMX = 1U << 23
,
FEATURE_FXSR = 1U << 24
,
FEATURE_SSE = 1U << 25
,
FEATURE_SSE2 = 1U << 26
,
FEATURE_SS = 1U << 27
,
FEATURE_HTT = 1U << 28
,
FEATURE_TM1 = 1U << 29
,
FEATURE_IA64 = 1U << 30
,
FEATURE_PBE = 1U << 31
} |
|
enum | ExtendedFeatureEDX : uint32_t {
EXTENDED_FEATURE_FPU = 1U << 0
,
EXTENDED_FEATURE_VME = 1U << 1
,
EXTENDED_FEATURE_DE = 1U << 2
,
EXTENDED_FEATURE_PSE = 1U << 3
,
EXTENDED_FEATURE_TSC = 1U << 4
,
EXTENDED_FEATURE_MSR = 1U << 5
,
EXTENDED_FEATURE_PAE = 1U << 6
,
EXTENDED_FEATURE_MCE = 1U << 7
,
EXTENDED_FEATURE_CX8 = 1U << 8
,
EXTENDED_FEATURE_APIC = 1U << 9
,
EXTENDED_FEATURE_SYSCALL = 1U << 11
,
EXTENDED_FEATURE_MTRR = 1U << 12
,
EXTENDED_FEATURE_PGE = 1U << 13
,
EXTENDED_FEATURE_MCA = 1U << 14
,
EXTENDED_FEATURE_CMOV = 1U << 15
,
EXTENDED_FEATURE_PAT = 1U << 16
,
EXTENDED_FEATURE_PSE36 = 1U << 17
,
EXTENDED_FEATURE_MP = 1U << 19
,
EXTENDED_FEATURE_NX = 1U << 20
,
EXTENDED_FEATURE_MMXEXT = 1U << 22
,
EXTENDED_FEATURE_MMX = 1U << 23
,
EXTENDED_FEATURE_FXSR = 1U << 24
,
EXTENDED_FEATURE_FXSR_OPT = 1U << 25
,
EXTENDED_FEATURE_PDPE1GB = 1U << 26
,
EXTENDED_FEATURE_RDTSCP = 1U << 27
,
EXTENDED_FEATURE_LM = 1U << 29
,
EXTENDED_FEATURE_3DNOWEXT = 1U << 30
,
EXTENDED_FEATURE_3DNOW = 1U << 31
} |
|
Query information about the processor.
- Note
- This is an interface to the
cpuid
instruction, which can return information about the processor. It should therefor not be confused with functionality to retrieve the ID of the current CPU (core)!