SMM driver managing UEFI NVRAM variable services. Handles GetVariable, SetVariable, GetNextVariableName, and QueryVariableInfo via SMI communication, including SecureBoot-aware variable policies, variable migration, and mailbox-based NVRAM store management.
Key Functions: SmiNvramCommHandler (SMI dispatch for variable operations), NvramCoreInit (store initialization from HOB/mailbox), RuntimeGetVariable/RuntimeSetVariable (SMM runtime service overrides), SecureBootSetVariable (PK/KEK-aware variable writes with mode transitions), NvramHobRetrieve (NVRAM HOB discovery and store setup).
Protocols/Dependencies: EFI_SMM_BASE2_PROTOCOL, EFI_SMM_ACCESS2_PROTOCOL, SMM Buffer Validation Protocol, AmiCryptoLib, SMM Communication Buffer.
Platform: Intel Purley (Skylake-SP) / HR650X server, AmiModulePkg/NVRAM/NvramSmm