AMI-Aptio-BIOS-Reversed / AmiModulePkg / SecureFlash / SecFlashUpd / SecFlashUpdDXE /
@Ajax Dong Ajax Dong authored 7 days ago
..
README.md Full restructure 7 days ago
SecFlashUpdDXE.c Full restructure 7 days ago
SecFlashUpdDXE.h Full restructure 7 days ago
SecFlashUpdDXE.md Full restructure 7 days ago
README.md

SecFlashUpdDXE

Index: 0063 | Size: 7776 bytes | Arch: x64 | Phase: DXE

Overview

Secure Flash Update DXE driver for authenticated BIOS capsule updates. Registers a Flash_Ready_To_Lock notification callback that queries "CapsuleUpdateData" UEFI variables, iterates through named variants (CapsuleUpdateData0, CapsuleUpdateData1, ...), and triggers the secure flash update process via the AMI Flash Update Protocol.

Key Functions

  • FlashReadyToLockCallback -- Main callback at ReadyToLock; iterates capsule variables and triggers update
  • SecFlashUpdRegisterCallbacks -- Creates ReadyToBoot event and registers Flash_Ready_To_Lock callback
  • GetHobList -- Retrieves HOB list from system configuration table

Protocols / Dependencies

  • AMI Flash Update Protocol
  • CapsuleUpdateData Variable GUID
  • DXE SMM Ready To Lock Protocol
  • PCD Protocol for platform configuration

Platform

HR650X, AMI ModulePkg SecureFlash, capsule update through UEFI Runtime Services variables