Newer
Older
AMI-Aptio-BIOS-Reversed / WheaElog / README.md
@Ajax Dong Ajax Dong 2 days ago 1 KB Init

WheaElog

Index: 0205
Size: 9,956 bytes (26E4h)
Phase: DXE (driver)
Source Package: CpPlatPkg\Whea\WheaElog\WheaElog

Overview

Windows Hardware Error Architecture (WHEA) error logging driver for the DXE phase. Initializes the WHEA error log subsystem, registers error sources, and handles platform error event logging during boot. Part of the CpPlatPkg WHEA stack that works in conjunction with WheaPlatformBoot and the SMM error logging infrastructure. The module performs error log initialization and communicates with system firmware via ACPI/ERST for persistent error record storage.

Key Functions

  • ModuleEntryPoint -- Main entry: calls sub_4E4 for initialization, then sub_6B0 for WHEA error log setup
  • sub_4E4 -- UEFI driver init: caches ImageHandle, SystemTable, BootServices, RuntimeServices
  • sub_6B0 -- Core WHEA error log initialization: registers error sources and sets up the error log infrastructure
  • sub_280 -- Error-checking hook for initialization sequence validation
  • sub_1390 / sub_320 -- WHEA event notification cleanup/teardown callbacks
  • sub_14B0 -- Debug ASSERT handler referencing AutoGen.c line 194/209

Protocols

  • WHEA error source descriptor protocol
  • EFI_STATUS_CODE_RUNTIME_PROTOCOL for status reporting
  • Platform-specific WHEA error log notification protocols

Platform

HR650X (Purley), built from CpPlatPkg, DEBUG VS2015 X64