# PciOutOfResourceSetupPage

| Field  | Value |
|--------|-------|
| Index  | 296 |
| Module | PciOutOfResourceSetupPage |
| Size   | 14880 bytes (0x3A20) |
| Phase  | DXE |

UEFI DXE driver for the "PCI Out of Resource" setup page. Installs HII Config Access protocol to allow the BIOS setup UI to display a form when PCI devices exhaust bus/resource allocation. Includes 35 functions covering IFR bytecode construction, HII configuration routing, string utilities, CMOS debug level access, and HOB parsing. This is a self-contained HII form driver with no external protocol dependencies beyond the standard UEFI HII and DebugMask protocols.

## Key Functions

- **ModuleEntryPoint** -- Standard UEFI entry point
- **InstallHiiForm** -- Main HII form installation (IFR opcode assembly)
- **ExtractPciOutOfResConfig** -- HII ConfigAccess.ExtractConfig handler
- **RoutePciOutOfResConfig** -- HII ConfigAccess.RouteConfig handler
- **RegisterHiiConfigAccess** -- Installs HII Config Access protocol on a new handle
- **PciOutOfResCallback** -- Ready-to-boot callback that triggers HII form install

## Dependencies

- UefiBootServicesTableLib, UefiRuntimeServicesTableLib
- DebugLib (via DebugMask Protocol), HiiDatabase Protocol
- DxeHobLib, BaseLib

## Platform

x86-64 PE32+ (UEFI DXE driver), Lenovo HR650X (Purley/Intel grantley-EP), AMI ModulePkg