Newer
Older
AMI-Aptio-BIOS-Reversed / AmiModulePkg / HiiInfoEmbedded / HiiInfoEmbedded.md
@Ajax Dong Ajax Dong 2 days ago 2 KB Full restructure

HiiInfoEmbedded

Function Table

Address Name Description
UefiBootServicesTableLib_Constructor
_ModuleEntryPoint
ModuleDestructor
UnloadImageProtocol
ModuleEntryInit
LocateShellProtocol
HiiInfoEmbedMain
GUID definitions used by this module
Global Data - Boot Services / Runtime Services / HII Protocol pointers
Shell file operation function pointers
Linked list of HII string entries
State flags
String buffer for output
Dynamic string buffer structure
HII string linked list entry structure
UEFI Library Boot Services Table Constructor
Module Entry Point (AutoGen)
Module Destructor (AutoGen)
Unload Image Protocol
Module Entry Init - Locate protocols and set up function pointers
Try locating HII Database protocol
Try locating Shell protocol
Set up shell function pointers from protocol vtable (indices 22-36)
Locate Shell Protocol via Handle Database
MAIN HII INFO EMBED FUNCTION
Validate command line args (count 0-3)
Parse command: "info" or "info "
Open BIOS image file
Read file in chunks
Scan for BIOS flash image header GUID
Initialize HII protocols
Allocate global string info buffer
Read HII database from UEFI variable "HiiDB"
Walk all HII package lists
Serialize and compress extracted info
Check ROM hole space availability
Embed compressed data into ROM hole
Generate filename with timestamp: YYYY.MM.DD.HH.MM.SS.
Save uncompressed HiiInfoResult file
Save compressed HiiInfoResultCompressed file

Generated by HR650X BIOS Decompilation Project