| Attribute | Value |
|---|---|
| Index | 0000 |
| Module | RomLayoutDxe |
| Size (EFI) | 7,264 bytes (1C60h) |
| Phase | DXE |
| Platform | NeonCityFPGA |
| Framework | UBA (Universal BIOS Architecture) |
| Source Lines | 1,051 (2 files) |
RomLayoutDxe is a UEFI DXE driver that identifies the ROM layout for the NeonCityFPGA platform and registers UBA setup configuration. It caches the HOB (Hand-Off Block) list from the UEFI system configuration table and publishes a platform-specific setup configuration protocol through the UBA framework. The driver implements standard DXE helper functions for debug output and assertion handling.
_ModuleEntryPoint -- Entry point; initializes UEFI globals, locates the HOB list, finds the UBA NeonCityFPGA board-type protocol, and registers setup configurationGetHobList -- Scans SystemTable->ConfigurationTable[] for EFI_HOB_LIST_GUIDGetDebugProtocol -- Locates and caches the DebugLib protocol interfaceDebugPrint -- Checks CMOS debug level and calls DebugLib protocol outputDebugAssert -- Calls DebugLib protocol assertion handlerIsHobListGuid -- Optimized GUID comparison using two 64-bit unaligned readsReadUnaligned64 -- Reads a 64-bit value from potentially unaligned memory