Newer
Older
AMI-Aptio-BIOS-Reversed / PiSmmCore / README.md
@Ajax Dong Ajax Dong 2 days ago 998 bytes Init

PiSmmCore, 0165, 87296 bytes, DXE

The SMM Core driver -- the SMM equivalent of the DXE Core. Provides the EFI_SMM_SYSTEM_TABLE2 (SMST) protocol services to all other SMM drivers. Initializes SMRAM ranges, manages SMI handler registration and dispatch, validates communication buffers via AMI mailbox protocol, and processes SMI handlers through a linked-list dispatch engine.

Key Functions: SmmCoreEntry (SMRAM init, buffer validation init), SmmMain (SMI handler registration from global table), SmmInstallConfigurationTable (SMST construction), SmiHandlerRegister, SmmEntryPoint (PRE/POST callback chains), SmiManage/SmiHandlerInvoke (handler dispatch by GUID), SmiHandlerFindOrCreate.

Protocols/Dependencies: EFI_SMM_SYSTEM_TABLE2 (SMST), EFI_SMM_CPU_PROTOCOL, EFI_SMM_COMMUNICATION_PROTOCOL, AMI Buffer Validation (SmmAmiBufferValidationLib), Firmware Volume section extraction, SMM Memory Attributes Table.

Platform: MdeModulePkg/Core/PiSmmCore, PurleyPlatPkg overrides, VS2015 X64 DEBUG.