Add CPU features struct

This commit is contained in:
Pedro Valadés 2024-05-06 16:58:36 +02:00
parent e4155ee008
commit c8cf84d5dc
2 changed files with 14 additions and 0 deletions

View File

@ -204,6 +204,13 @@ typedef struct _CPU_IDENTIFICATION
UCHAR VendorName[13];
} CPU_IDENTIFICATION, *PCPU_IDENTIFICATION;
/* Processor features */
typedef struct _CPU_FEATURES
{
CPUID_FEATURES Ecx;
CPUID_FEATURES Edx;
} CPU_FEATURES, *PCPU_FEATURES;
/* CPUID registers */
typedef struct _CPUID_REGISTERS
{

View File

@ -155,6 +155,13 @@ typedef struct _CPU_IDENTIFICATION
UCHAR VendorName[13];
} CPU_IDENTIFICATION, *PCPU_IDENTIFICATION;
/* Processor features */
typedef struct _CPU_FEATURES
{
CPUID_FEATURES Ecx;
CPUID_FEATURES Edx;
} CPU_FEATURES, *PCPU_FEATURES;
/* CPUID registers */
typedef struct _CPUID_REGISTERS
{