# UsbOcUpdateDxeLightningRidgeEXECB2

| Field        | Value                                       |
|--------------|---------------------------------------------|
| Index        | 29 of 427 PE files in HR650X BIOS           |
| Module       | UsbOcUpdateDxeLightningRidgeEXECB2          |
| EFI Size     | 3,424 bytes                                 |
| Source (C+H) | 753 + 350 = 1,103 lines                     |
| SHA256       | 2a2d2c09cf38f65e479683d74604b851b093527cf10c4b51b625375ec7d33e04 |
| Phase        | DXE                                         |
| Build        | VS2015, X64, DEBUG                          |

## Overview

USB Overcurrent (OC) Update DXE driver for the LightningRidge EXEC B2 platform. Part of the UBA framework, this minimal module retrieves the HOB list, locates the UBA USB Overcurrent Protocol, and invokes SetData to install USB OC settings into ACPI tables. Debug output uses CMOS register 0x4B for verbosity level.

## Key Functions

- `_ModuleEntryPoint` -- DXE entry; caches UEFI globals, resolves HOB list and protocols
- `GetDebugLibProtocol` -- Lazily resolves the UBA debug protocol
- `GetHobList` -- Finds HOB list via configuration table
- `DebugPrint` / `ReportAssert` -- Debug output and assertion handling

## Dependencies

UBA_USB_OC_PROTOCOL, UBA_DEBUG_PROTOCOL, DxeHobLib, ACPI table protocol

## Platform

HR650X Purley (Intel C621/C622, Lewisburg PCH)