// ntddk.h
typedef struct _WHEA_AER_ROOTPORT_DESCRIPTOR {
USHORT Type;
BOOLEAN Enabled;
UCHAR Reserved;
ULONG BusNumber;
WHEA_PCI_SLOT_NUMBER Slot;
USHORT DeviceControl;
AER_ROOTPORT_DESCRIPTOR_FLAGS Flags;
ULONG UncorrectableErrorMask;
ULONG UncorrectableErrorSeverity;
ULONG CorrectableErrorMask;
ULONG AdvancedCapsAndControl;
ULONG RootErrorCommand;
} WHEA_AER_ROOTPORT_DESCRIPTOR, *PWHEA_AER_ROOTPORT_DESCRIPTOR;
View the official Windows Driver Kit DDI referenceNo description available.
The WHEA_AER_ROOTPORT_DESCRIPTOR structure describes a PCI Express (PCIe) root port error source.
TypeThe type of error source descriptor. This member is always set to WHEA_ERROR_SOURCE_DESCRIPTOR_TYPE_AERROOTPORT.
EnabledA Boolean value that indicates if the error source is enabled.
ReservedReserved for system use.
BusNumberThe root port's bus number.
SlotA WHEA_PCI_SLOT_NUMBER structure that describes the logical PCI slot where the root port is located in the system.
DeviceControlThe contents of the root port's Device Control register.
FlagsAn AER_ROOTPORT_DESCRIPTOR_FLAGS union that indicates which of the members of the WHEA_AER_ROOTPORT_DESCRIPTOR structure can be written to by the operating system. The AER_ROOTPORT_DESCRIPTOR_FLAGS union is defined as follows:
typedef union _AER_ROOTPORT_DESCRIPTOR_FLAGS {
struct {
USHORT UncorrectableErrorMaskRW:1;
USHORT UncorrectableErrorSeverityRW:1;
USHORT CorrectableErrorMaskRW:1;
USHORT AdvancedCapsAndControlRW:1;
USHORT RootErrorCommandRW:1;
USHORT Reserved:11;
};
USHORT AsUSHORT;
} AER_ROOTPORT_DESCRIPTOR_FLAGS, *PAER_ROOTPORT_DESCRIPTOR_FLAGS
A single bit that indicates that the operating system can write to the UncorrectableErrorMask member of the WHEA_AER_ROOTPORT_DESCRIPTOR structure.
A single bit that indicates that the operating system can write to the UncorrectableErrorSeverity member of the WHEA_AER_ROOTPORT_DESCRIPTOR structure.
A single bit that indicates that the operating system can write to the CorrectableErrorMask member of the WHEA_AER_ROOTPORT_DESCRIPTOR structure.
A single bit that indicates that the operating system can write to the AdvancedCapsAndControl member of the WHEA_AER_ROOTPORT_DESCRIPTOR structure.
A single bit that indicates that the operating system can write to the RootErrorCommand member of the WHEA_AER_ROOTPORT_DESCRIPTOR structure.
Reserved for system use.
A USHORT representation of the contents of the AER_ROOTPORT_DESCRIPTOR_FLAGS union.
UncorrectableErrorMaskThe contents of the root port's Uncorrectable Error Mask register.
UncorrectableErrorSeverityThe contents of the root port's Uncorrectable Error Severity register.
CorrectableErrorMaskThe contents of the root port's Correctable Error Mask register.
AdvancedCapsAndControlThe contents of the root port's Advanced Error Capabilities and Control register.
RootErrorCommandThe contents of the root port's Root Error Command register.
A WHEA_AER_ROOTPORT_DESCRIPTOR structure is contained within the WHEA_ERROR_SOURCE_DESCRIPTOR structure.