SmmS3SaveState
- Index: 0195
- Size: 22,852 bytes (22.3 KB)
- Phase: SMM (System Management Mode)
- PE Format: PE32+ x86-64, 6 sections (.text, .rdata, .data, section_3, .xdata, .reloc)
Overview
SMM driver for saving system state during S3 (Suspend-to-RAM) sleep transition. This driver captures critical CPU and chipset register state before the system enters the S3 sleep state and restores it upon resume. The saved state typically includes MTRRs, PCI configuration space, CPU MSRs, ACPI registers, and other platform-specific configuration. This is essential for proper system resume behavior, ensuring the platform returns to the exact operational state it had before suspending.
Key Functions
- ModuleEntryPoint -- Standard SMM driver entry; calls library init and S3 save state logic
- sub_528 -- AutoGen library constructor
- sub_A14 -- Core S3 save state logic (register capture, state buffer management)
- sub_950 -- Error handler for save state failure
Protocols
- SmmBase2 Protocol -- SMM framework entry
- SmmSxDispatch Protocol -- S3/S4/S5 state transition dispatch (for registering sleep/resume callbacks)
- BootScriptSave Protocol -- For storing S3 boot script entries
- Build: HR6N0XMLK DEBUG_VS2015 X64
- Source: AmiModulePkg/SmmS3SaveState
- Part of: HR650X BIOS SMM infrastructure (indices 0195-0199, 0201-0203)