| Attribute | Value |
|---|---|
| Index | 0003 |
| Module | UsbOcUpdateDxeLightningRidgeEXRP |
| Size (EFI) | 3,424 bytes (D60h) |
| Phase | DXE |
| Platform | Lightning Ridge EXRP |
| Framework | UBA (Universal BIOS Architecture) |
| Source Lines | 1,275 (2 files) |
UsbOcUpdateDxeLightningRidgeEXRP is a UEFI DXE driver that configures USB over-current (OC) protection settings for the Lightning Ridge EXRP platform. It initializes UEFI globals, locates the HOB list, finds the UBA board-type protocol, and registers USB OC configuration data through the UBA framework. The driver shares the same UBA Board-Type Protocol GUID as other platform configuration drivers.
_ModuleEntryPoint -- Entry point; initializes globals, locates HOB list and UBA protocol, registers USB OC 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