| Attribute | Value |
|---|---|
| Index | 0006 |
| Module | OpromUpdateDxeNeonCityFPGA |
| Size (EFI) | 4,192 bytes (1060h) |
| Phase | DXE |
| Platform | NeonCityFPGA |
| Framework | UBA (Universal BIOS Architecture) |
| Source Lines | 915 (2 files) |
OpromUpdateDxeNeonCityFPGA provides Option ROM (OpROM) update configuration for the NeonCityFPGA platform via the UBA protocol. It registers callback functions that define PCIe slot-to-adapter mappings, enabling the platform to correctly configure option ROMs for installed PCIe devices. The driver scans for enabled PCIe slots via the PCI Root Bridge I/O Protocol and publishes OpROM configuration data through UBA callbacks.
_ModuleEntryPoint -- Entry point; caches system table pointers, locates HOB list, finds UBA protocol, registers OpROM configurationGetHobList -- Scans SystemTable->ConfigurationTable[] for EFI_HOB_LIST_GUIDGetDebugProtocol -- Resolves and caches DebugLib protocol interfaceDebugPrint -- Debug output via DebugLib protocolDebugAssert -- Assertion handler via DebugLib protocolIsGuidEqual -- Two-64-bit GUID comparisonGetPcieSlotConfigProtocol0 -- Callback that provides PCIe slot configuration protocolReadUnaligned64 -- Unaligned 64-bit memory read with NULL check