// ntddk.h
typedef struct _WHEA_XPF_MCE_DESCRIPTOR {
USHORT Type;
UCHAR Enabled;
UCHAR NumberOfBanks;
XPF_MCE_FLAGS Flags;
ULONGLONG MCG_Capability;
ULONGLONG MCG_GlobalControl;
WHEA_XPF_MC_BANK_DESCRIPTOR Banks[WHEA_MAX_MC_BANKS];
} WHEA_XPF_MCE_DESCRIPTOR, *PWHEA_XPF_MCE_DESCRIPTOR;
View the official Windows Driver Kit DDI referenceNo description available.
The WHEA_XPF_MCE_DESCRIPTOR structure describes a machine check exception (MCE) error source for an x86 or x64 processor.
TypeThe type of error source descriptor. This member is always set to WHEA_ERROR_SOURCE_DESCRIPTOR_TYPE_XPFMCE.
EnabledA Boolean value that indicates if the error source is enabled.
NumberOfBanksThe number of WHEA_XPF_MC_BANK_DESCRIPTOR structures contained in the Banks member.
FlagsAn XPF_MCE_FLAGS union that indicates which of the members of the WHEA_XPF_MCE_DESCRIPTOR structure can be written to by the operating system. The XPF_MCE_FLAGS union is defined as follows:
typedef union _XPF_MCE_FLAGS {
struct {
UCHAR MCG_CapabilityRW:1;
UCHAR MCG_GlobalControlRW:1;
UCHAR Reserved:30;
};
UCHAR AsULONG;
} XPF_MCE_FLAGS, *PXPF_MCE_FLAGS;
A single bit that indicates that the operating system can write to the MCG_Capability member of the WHEA_XPF_MCE_DESCRIPTOR structure.
A single bit that indicates that the operating system can write to the MCG_GlobalControl member of the WHEA_XPF_MCE_DESCRIPTOR structure.
Reserved for system use.
A ULONG representation of the contents of the XPF_MCE_FLAGS union.
MCG_CapabilityThe contents of the processor's IA32_MCG_CAP model-specific register. This register contains capability information about the machine check architecture of the processor. For more information about the IA32_MCG_CAP register, see the Intel 64 and IA-32 Architectures Software Developer's Manual.
MCG_GlobalControlThe contents of the processor's IA32_MCG_CTL model-specific register. This register controls the reporting of machine check exceptions. For more information about the IA32_MCG_CTL register, see the Intel 64 and IA-32 Architectures Software Developer's Manual.
BanksAn array of WHEA_XPF_MC_BANK_DESCRIPTOR structures that describe the banks of machine check registers.
A WHEA_XPF_MCE_DESCRIPTOR structure is contained within the WHEA_ERROR_SOURCE_DESCRIPTOR structure.