# OpromUpdateDxeLightningRidgeEXRP

| Index | Module | Size | Phase |
|-------|--------|------|-------|
| 0355 | OpromUpdateDxeLightningRidgeEXRP | 4224 bytes (0x1080) | DXE |

## Overview

This UBA DXE driver configures PCIe slot number ranges for the Lightning Ridge EXRP platform. It registers a UBA protocol callback that updates the OpROM (Option ROM) PCIe slot mapping, ensuring correct PCIe hierarchy enumeration for onboard devices and slots. The module enables the platform firmware to present consistent PCIe topology to the operating system.

## Key Functions

- **ModuleEntryPoint** -- Initializes UEFI boot/runtime services, locates UBA protocol, and registers PCIe slot number configuration callbacks for the Lightning Ridge EXRP SKU.
- **UbaConfigGetPcieSlotNumber** -- Retrieves platform-specific PCIe slot number assignments from UBA configuration tables.

## Dependencies

- UBA Protocol (GUID: E03E0D46-5263-4845-B0A4-58D57B3177E2)
- PCI Root Bridge IO Protocol (GUID: 2F707EBB-4A1A-11D4-9A38-0090273FC14D)
- UBA Config Board Protocol (GUID: 36232936-0E76-31C8-A13A-3AF2FC1C3932)
- HOB List

## Platform

- **Architecture:** x86-64 (PE32+)
- **Source:** PurleyRpPkg/Uba/UbaMain/Dxe/TypeLightningRidgeEXRP/OpromUpdateDxe
- **SKU GUID:** 371BD79C-DE79-4C5F-AA2B-BC9EBEFA988F