# UsbOcUpdateDxeNeonCityFPGA

| Field | Value |
|-------|-------|
| Index | 0010 |
| Module | UsbOcUpdateDxeNeonCityFPGA.efi |

## Overview

UEFI DXE driver for USB over-current (OC) protection configuration on the
NeonCityFPGA platform. Registers port-to-OC-pin mappings through the UBA
framework, including front panel (16 ports) and rear panel/backplane (20 ports)
USB OC mappings. Debug output is controlled via CMOS register 0x4B at RTC
ports 0x70/0x71.

## Key Functions

- **_ModuleEntryPoint** — initializes globals, locates HOB list and UBA board-type protocol, registers USB OC config
- **GetHobList** — scans SystemTable->ConfigurationTable for EFI_HOB_LIST_GUID
- **DebugPrint** — resolves DebugLib protocol and calls output function
- **DebugAssert** — calls DebugLib assertion handler
- **ReadUnaligned64** — reads 64-bit value from potentially unaligned memory

## Protocols / Dependencies

- UBA Board-Type Protocol
- USB OC Configuration Protocol
- DebugLib Protocol

## Platform

HR650X Purley (NeonCityFPGA)