Newer
Older
AMI-Aptio-BIOS-Reversed / CpPlatPkg / Whea / WheaSupport / README.md
@Ajax Dong Ajax Dong 2 days ago 1 KB Restructure the repo

WheaSupport

Field Value
Index 0309
Module WheaSupport
Size 8,740 bytes (PE32+)
SHA256 95b18380d0d5a327cac448804bedf0ebef55a3dabbb03a2935052b98a2e17fe2
Phase DXE
Package CpPlatPkg/Whea/WheaSupport
Build DEBUG_VS2015 X64
Image HR6N0XMLK
GUID {36232936-0E76-31C8-A13A-3AF2FC1C3932}
Entry Point 0x344

Overview

This DXE driver implements Windows Hardware Error Architecture (WHEA) support for the Lenovo HR650X platform. It constructs four ACPI WHEA tables in memory -- HEST (Hardware Error Source Table, 0x8000 bytes), ERST (Error Record Serialization Table, 0x2000 bytes), BERT (Boot Error Record Table, 0x8000 bytes), and EINJ (Error Injection Table, 0x2000 bytes) -- and installs them via SMM communication at ReadyToBoot. A shared SMM communication buffer (0xE000 bytes) is allocated for table data transfer.

Key Functions

  • WheaDriverInit -- Allocates WHEA tables and initializes the shared SMM communication buffer
  • RegisterWheaReadyToBoot -- Installs a ReadyToBoot callback that delivers WHEA tables via SMM
  • DebugLibConstructor / DebugAssert -- UEFI debug library support functions

Dependencies

  • SMM Communication Protocol (gSmmCommProtocol)
  • PCD Protocol (gPcdProtocol)
  • DebugPort Protocol (gDebugPort)
  • UEFI Boot/Runtime Services

Platform

X64 UEFI DXE driver, PE32+ format, 5 sections (.text, .rdata, .data, section_3, .xdata). Part of the CpPlatPkg Whea subsystem.