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

AddressTranslationDsmMemRas

Field Value
Index 266
Module AddressTranslationDsmMemRas
File AddressTranslationDsmMemRas.efi
PE format PE32+
Size (hex) 20A4h
Size (bytes) 8,356
Subsystem EFI Boot Service (000Bh)
Sections 5 (.text, .rdata, .data, section_3, .xdata)
Phase DXE (SMM driver)
Source PurleyPlatPkg/Ras
Build HR6N0XMLK, DEBUG_VS2015, X64

Overview

This driver is a UEFI SMM (System Management Mode) driver for the Purley platform that provides Address Translation DSM (Direct Memory Store) error reporting functionality. It registers an SMI handler to handle memory error log queries from the OS, and installs a patched SSDT to expose the ACPI interface for Address Translation DSM. The driver manages SMRAM communication buffers, locates SMM protocols (SMM Base2, SMM Access2), and interfaces with the MemRas protocol for memory RAS event handling.

Key Functions

  • UefiBootServicesTableLibConstructor -- entry point; locates SMM Base2 and SMM Access2 protocols, enumerates SMRAM
  • SMI handler registration for Address Translation DSM error log queries
  • SSDT patching and installation for ACPI DSM interface
  • SMRAM communication buffer management (0x100-byte buffer)
  • MemRas protocol interface for memory RAS event handling
  • SMRAM range discovery via SmmAccess2->GetCapabilities

Dependencies

  • EFI_SMM_BASE2_PROTOCOL
  • EFI_SMM_ACCESS2_PROTOCOL
  • EFI_SMM_CPU_PROTOCOL
  • MemRas Protocol (platform-specific)
  • SMRAM (System Management RAM)
  • ACPI Table Protocol (SSDT installation)
  • UEFI Boot Services

Platform

Intel/AMD64 UEFI, Lenovo HR650X BIOS (Purley platform)