Upravit

Sdílet prostřednictvím


Renamed WHEA Data Types

Starting with the Windows 7 Windows Driver Kit (WDK), various WHEA data types have been renamed from earlier versions of the WDK. The majority of these changes were made so that the naming conventions in the WDK are consistent with the naming conventions of the Common Platform Error Record format. This format is described in Appendix N of version 2.2 of the Unified Extensible Firmware Interface (UEFI) Specification.

The data types listed in this section have not been revised for Windows 7. For example, the list and types of members within a renamed structure have not changed, although the members themselves may have been renamed.

If you are developing new platform-specific hardware error driver (PSHED) plug-ins, use the new WHEA data type names as defined in the Windows 7 and later versions of the WDK.

If you are building an existing PSHED plug-in with the Windows 7 and later versions of the WDK, you can still use the previous WHEA data type names. To do this, add the following to the sources file that is used to build the plug-in:

C_DEFINES = $(C_DEFINES) /DWHEA_DOWNLEVEL_TYPE_NAMES

However, for existing PSHED plug-ins, we strongly recommend that you rename the WHEA data types by using the names that are defined in the Windows 7 and later versions of the WDK.

The following tables list the WHEA data types' former and new names.

Renamed WHEA Globally-Unique Identifiers (GUIDs)

Former name (WDK versions prior to Windows 7) New name (Windows 7 WDK and later)

IPF_PROCESSOR_SPECIFIC_SECTION_GUID

IPF_PROCESSOR_ERROR_SECTION_GUID

IPF_SAL_RECORD_REFERENCE_SECTION_GUID

FIRMWARE_ERROR_RECORD_REFERENCE_GUID

PCIEXPRESS_SECTION_GUID

PCIEXPRESS_ERROR_SECTION_GUID

PCIX_BUS_SECTION_GUID

PCIXBUS_ERROR_SECTION_GUID

PCIX_COMPONENT_SECTION_GUID

PCIXBUS_ERROR_SECTION_GUID

PLATFORM_MEMORY_SECTION_GUID

MEMORY_ERROR_SECTION_GUID

PROCESSOR_GENERIC_SECTION_GUID

PROCESSOR_GENERIC_ERROR_SECTION_GUID

X86_PROCESSOR_SPECIFIC_SECTION_GUID

XPF_PROCESSOR_ERROR_SECTION_GUID

Renamed WHEA Defines

Former name (WDK versions prior to Windows 7) New name (Windows 7 WDK and later)

WHEA_SECTION_DESCRIPTOR_REVISION

WHEA_ERROR_RECORD_SECTION_DESCRIPTOR_REVISION

Renamed WHEA Structures and Unions

Former name (WDK versions prior to Windows 7) New name (Windows 7 WDK and later)

WHEA_FIRMWARE_RECORD

WHEA_FIRMWARE_ERROR_RECORD_REFERENCE

WHEA_GENERIC_PROCESSOR_ERROR

WHEA_PROCESSOR_GENERIC_ERROR_SECTION

WHEA_GENERIC_PROCESSOR_ERROR_VALIDBITS

WHEA_PROCESSOR_GENERIC_ERROR_SECTION_VALIDBITS

WHEA_MEMORY_ERROR

WHEA_MEMORY_ERROR_SECTION

WHEA_MEMORY_ERROR_VALIDBITS

WHEA_MEMORY_ERROR_SECTION_VALIDBITS

WHEA_NMI_ERROR

WHEA_NMI_ERROR_SECTION

WHEA_PCIEXPRESS_ERROR

WHEA_PCIEXPRESS_ERROR_SECTION

WHEA_PCIEXPRESS_ERROR_VALIDBITS

WHEA_PCIEXPRESS_ERROR_SECTION_VALIDBITS

WHEA_PCIXBUS_ERROR

WHEA_PCIXBUS_ERROR_SECTION

WHEA_PCIXBUS_ERROR_VALIDBITS

WHEA_PCIXBUS_ERROR_SECTION_VALIDBITS

WHEA_PCIXDEVICE_ERROR

WHEA_PCIXDEVICE_ERROR_SECTION

WHEA_PCIXDEVICE_ERROR_VALIDBITS

WHEA_PCIXDEVICE_ERROR_SECTION_VALIDBITS

WHEA_XPF_PROCESSOR_ERROR

WHEA_XPF_PROCESSOR_ERROR_SECTION

WHEA_XPF_PROCESSOR_ERROR_VALIDBITS

WHEA_XPF_PROCESSOR_ERROR_SECTION_VALIDBITS