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

SmmGenericElog

Index: 0207
Size: 6,692 bytes (1A24h)
Phase: SMM (DXE_SMM_DRIVER)
Source Package: AmiModulePkg\GenericElog\SmmGenericElog

Overview

SMM-based generic event log driver that provides system management interrupt (SMI) handling for platform event logging. Registers and manages hardware error event logs from within SMM context. Handles Event Log (Elog) operations for recording platform errors such as ECC memory errors, PCIe errors, and other hardware fault events. Part of the AMI GenericElog infrastructure, this module provides the SMM-side service for error event collection and storage.

Key Functions

  • ModuleEntryPoint -- Main entry: calls sub_514 init, then sub_B5C for core event log setup
  • sub_514 -- UEFI driver init: caches ImageHandle, SystemTable, BootServices, RuntimeServices
  • sub_B5C -- Core SMM generic event log initialization and registration
  • sub_E70 / sub_340 -- Event log notification cleanup/teardown callbacks
  • sub_2A0 -- Initialization error-checking hook
  • sub_F2C -- Error path cleanup handler called when initialization fails

Protocols

  • SMM Event Log protocol (Elog SMI handler)
  • EFI_SMM_SYSTEM_TABLE2 for SMM services
  • SMM Status Code protocol for error event reporting

Platform

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