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

DxeSelStatusCode

Field Value
Index 261
Module DxeSelStatusCode
File DxeSelStatusCode.efi
PE format PE32+
Size (hex) 2404h
Size (bytes) 9,220
Subsystem EFI Boot Service (000Ch)
Sections 5 (.text, .rdata, .data, section_3, .xdata)
Phase DXE
Source AmiIpmiPkg
Build HR6N0XMLK, DEBUG_VS2015, X64

Overview

This DXE driver maps UEFI status codes to IPMI SEL (System Event Log) records for the AMI IPMI stack. It reads configuration from the "ServerSetup" UEFI variable, locates the IPMI transport protocol, and registers event notification callbacks to write SEL records when status codes are reported during boot and runtime. A 61-entry mapping table correlates UEFI status code classes to IPMI sensor numbers, sensor types, event directions, and event data.

Key Functions

  • DxeSelStatusCodeEntry -- driver entry; reads setup variable and initializes the SEL mapper
  • ConvertStatusCodeToSelRecord -- maps UEFI status codes to IPMI SEL event records
  • SelEventMapTable -- 61-entry static table mapping status codes to sensor/event data
  • Event notification callbacks for boot-time and runtime status code reporting
  • SEL redundancy and operation mode management
  • SMBIOS integration for SEL event logging

Dependencies

  • IPMI Transport Protocol
  • UEFI Runtime Variable Services (ServerSetup)
  • UEFI Boot Services
  • SMBIOS Protocol
  • Debug Print Protocol
  • HOB List

Platform

Intel/AMD64 UEFI, Lenovo HR650X BIOS