Newer
Older
AMI-Aptio-BIOS-Reversed / PurleyRpPkg / Uba / UbaMain / Dxe / IioCfgUpdateDxeLightningRidgeEXRP / README.md
@Ajax Dong Ajax Dong 2 days ago 2 KB Restructure the repo

IioCfgUpdateDxeLightningRidgeEXRP

Attribute Value
Index 0004
Module IioCfgUpdateDxeLightningRidgeEXRP
Size (EFI) 3,744 bytes (EA0h)
Phase DXE
Platform Lightning Ridge EXRP
Framework UBA (Universal BIOS Architecture)
Source Lines 1,070 (2 files)

Overview

IioCfgUpdateDxeLightningRidgeEXRP sends IIO (Integrated IO) configuration data tables to the UBA protocol for the Lightning Ridge EXRP platform. It delivers four GUID-identified configuration blocks covering socket configuration, miscellaneous config, PCIe register updates, and extended config. Each block contains PCIe register AND/OR mask updates applied to IIO root ports across all processor sockets. The UBA core applies these config updates during IIO initialization.

Key Functions

  • ModuleEntryPoint -- Entry point; initializes UEFI globals, locates HOB list and UBA protocol, calls SetIIOConfigData for all 4 config blocks
  • GetHobList -- Locates IIO configuration HOB from system configuration table
  • GetDebugLibProtocol -- Locates and caches the DebugLib protocol interface
  • DebugPrint -- Debug output via DebugLib protocol
  • DebugAssert -- Assertion handler via DebugLib protocol
  • IsGuidEqual -- Two-64-bit GUID comparison

Dependencies

  • UEFI Boot Services (gBS->LocateProtocol, gBS->AllocatePool)
  • UBA Protocol ({E03E0D46-5263-4845-B0A4-58D57B3177E2})
  • IIO Configuration Data Block GUIDs (4 config blocks):
    • {6FE6C559-4F35-4111-98E1-332A251512F3} (socket config)
    • {0F722F2A-650F-448A-ABB7-04EECD75BB30} (misc config)
    • {EBD11A00-8C5C-4F71-BB9E-5394032B01F4} (PCIe config)
    • {123BD082-3201-465C-B139-0CB8C77208F8} (extended config)
  • DebugLib Protocol

Platform

  • Architecture: x86-64 (PE32+)
  • Machine: 0x8664
  • Subsystem: EFI Boot Service Driver (0x000B)
  • Toolchain: VS2015, X64 DEBUG
  • Sections: 6 (.text, .rdata, .data, .idata, .reloc)
  • Entry Point: 0x390