# OpromUpdateDxeNeonCityEPECB

**Index**: 0047 | **Size**: 4192 bytes | **Arch**: x64 | **Phase**: DXE

## Overview

Option ROM Update Policy driver for the NeonCity EPECB platform. Configures PCIe slot numbering, validates slot presence via PCIe Slot Capabilities registers, and installs the OPRM (Option ROM) configuration table through the UBA protocol.

## Key Functions

- **OpromUpdateEntryPoint** — Entry point; initializes UEFI globals, locates UBA protocol, registers OpROM config data
- **IsPcieSlotNumberValid** — Validates PCIe slot by reading Slot Capabilities register via DXE Services PCI config access
- **GetNeonCitySlotConfig** — Returns the platform-specific 48-byte OpROM config structure with callback function pointers
- **GetPcieSlotNumberTable** — Builds 8-entry OPRM table mapping PCI bus:device:function ranges to slot numbers
- **SetPcieSlotNumber** — Dispatches slot config via UBA protocol function table

## Protocols / Dependencies

- UBA OpromUpdate config protocol
- DXE Services protocol (for PCI configuration space reads)
- UBA Debug protocol

## Platform

NeonCity EPECB (Purley platform variant, slot number fixed to 2)