cpu_raw_data_t(3) Library Functions Manual cpu_raw_data_t(3)

cpu_raw_data_t - Contains just the raw CPUID data.

#include <libcpuid.h>


uint32_t basic_cpuid [MAX_CPUID_LEVEL][NUM_REGS]
uint32_t ext_cpuid [MAX_EXT_CPUID_LEVEL][NUM_REGS]
uint32_t intel_fn4 [MAX_INTELFN4_LEVEL][NUM_REGS]
uint32_t intel_fn11 [MAX_INTELFN11_LEVEL][NUM_REGS]
uint32_t intel_fn12h [MAX_INTELFN12H_LEVEL][NUM_REGS]
uint32_t intel_fn14h [MAX_INTELFN14H_LEVEL][NUM_REGS]
uint32_t amd_fn8000001dh [MAX_AMDFN8000001DH_LEVEL][NUM_REGS]
uint32_t amd_fn80000026h [MAX_AMDFN80000026H_LEVEL][NUM_REGS]
uint64_t arm_midr
uint64_t arm_mpidr
uint64_t arm_revidr
uint32_t arm_id_afr [MAX_ARM_ID_AFR_REGS]
uint32_t arm_id_dfr [MAX_ARM_ID_DFR_REGS]
uint32_t arm_id_isar [MAX_ARM_ID_ISAR_REGS]
uint32_t arm_id_mmfr [MAX_ARM_ID_MMFR_REGS]
uint32_t arm_id_pfr [MAX_ARM_ID_PFR_REGS]
uint64_t arm_id_aa64afr [MAX_ARM_ID_AA64AFR_REGS]
uint64_t arm_id_aa64dfr [MAX_ARM_ID_AA64DFR_REGS]
uint64_t arm_id_aa64isar [MAX_ARM_ID_AA64ISAR_REGS]
uint64_t arm_id_aa64mmfr [MAX_ARM_ID_AA64MMFR_REGS]
uint64_t arm_id_aa64pfr [MAX_ARM_ID_AA64PFR_REGS]
uint64_t arm_id_aa64smfr [MAX_ARM_ID_AA64SMFR_REGS]
uint64_t arm_id_aa64zfr [MAX_ARM_ID_AA64ZFR_REGS]

Contains just the raw CPUID data.

This contains only the most basic CPU data, required to do identification and feature recognition. Every processor should be identifiable using this data only.

when the CPU is AMD and supports leaf 8000001Dh (topology information for the DC) this stores the result of CPUID with eax = 8000001Dh and ecx = 0, 1, 2...

when the CPU is AMD and supports leaf 80000026h (Extended CPU Topology leaf) this stores the result of CPUID with eax = 80000026h and ecx = 0, 1, 2...

when then CPU is ARM-based and supports ID_AA64AFR* (AArch64 Auxiliary Feature Register)

when then CPU is ARM-based and supports ID_AA64DFR* (AArch64 Debug Feature Register)

when then CPU is ARM-based and supports D_AA64ISAR* (AArch64 Instruction Set Attribute Register)

when then CPU is ARM-based and supports ID_AA64MMFR* (AArch64 Memory Model Feature Register)

when then CPU is ARM-based and supports ID_AA64PFR* (AArch64 Processor Feature Register)

when then CPU is ARM-based and supports ID_AA64SMFR* (AArch64 SME Feature ID Register )

when then CPU is ARM-based and supports ID_AA64ZFR* (SVE Feature ID register)

when then CPU is ARM-based and supports ID_AFR* (AArch32 Auxiliary Feature Register)

when then CPU is ARM-based and supports ID_DFR* (AArch32 Debug Feature Register)

when then CPU is ARM-based and supports D_ISAR* (AArch32 Instruction Set Attribute Register)

when then CPU is ARM-based and supports ID_MMFR* (AArch32 Memory Model Feature Register)

when then CPU is ARM-based and supports ID_PFR* (AArch32 Processor Feature Register)

when then CPU is ARM-based and supports MIDR (Main ID Register)

when then CPU is ARM-based and supports MPIDR (Multiprocessor Affinity Register)

when then CPU is ARM-based and supports REVIDR (Revision ID Register)

contains results of CPUID for eax = 0, 1, ...

contains results of CPUID for eax = 0x80000000, 0x80000001, ...

when the CPU is intel and it supports leaf 0Bh (Extended Topology enumeration leaf), this stores the result of CPUID with eax = 11 and ecx = 0, 1, 2...

when the CPU is intel and supports leaf 12h (SGX enumeration leaf), this stores the result of CPUID with eax = 0x12 and ecx = 0, 1, 2...

when the CPU is intel and supports leaf 14h (Intel Processor Trace capabilities leaf). this stores the result of CPUID with eax = 0x12 and ecx = 0, 1, 2...

when the CPU is intel and it supports deterministic cache information: this contains the results of CPUID for eax = 4 and ecx = 0, 1, ...

Generated automatically by Doxygen for libcpuid from the source code.

libcpuid