Intel® X86 Encoder Decoder
xed-cpuid-rec.h File Reference
#include "xed-types.h"
#include "xed-portability.h"
#include "xed-cpuid-rec-enum.h"
#include "xed-cpuid-group-enum.h"
#include "xed-isa-set-enum.h"

Data Structures

struct  xed_cpuid_rec_t
 a data structure representing a CPUID record More...
 

Macros

#define XED_MAX_CPUID_GROUPS_PER_ISA_SET   (2)
 
#define XED_MAX_CPUID_RECS_PER_GROUP   (4)
 

Functions

XED_DLL_EXPORT xed_cpuid_group_enum_t xed_get_cpuid_group_enum_for_isa_set (xed_isa_set_enum_t isaset, xed_uint_t i)
 Returns the name of the i'th cpuid group associated with the given isa-set. This function is called repeatedly, with i = 0 until reaching XED_MAX_CPUID_GROUPS_PER_ISA_SET or when the return value is XED_CPUID_GROUP_INVALID. An ISA-SET is supported by a chip if CPUID match is found for a single CPUID group (OR relationship between groups). More...
 
XED_DLL_EXPORT xed_bool_t xed_get_cpuid_rec (xed_cpuid_rec_enum_t cpuid_bit, xed_cpuid_rec_t *p)
 provides the details of the CPUID specification, if the enumeration value is not sufficient. stores the values of the CPUID record in the given pointer p More...
 
XED_DLL_EXPORT xed_cpuid_rec_enum_t xed_get_cpuid_rec_enum_for_group (xed_cpuid_group_enum_t group, xed_uint_t i)
 Returns the name of the i'th cpuid record associated with the given cpuid group. This function is called repeatedly, with i = 0 until reaching XED_MAX_CPUID_RECS_PER_GROUP or when the return value is XED_CPUID_REC_INVALID. A cpuid group is satisfied if all of its cpuid records are set (AND relationship between records). More...
 

Detailed Description

CPUID getter APIs

Macro Definition Documentation

◆ XED_MAX_CPUID_GROUPS_PER_ISA_SET

#define XED_MAX_CPUID_GROUPS_PER_ISA_SET   (2)

◆ XED_MAX_CPUID_RECS_PER_GROUP

#define XED_MAX_CPUID_RECS_PER_GROUP   (4)