# PciPlatform

| Index | Module | Size | Phase |
|-------|--------|------|-------|
| 324 | PciPlatform | 20388 bytes (19.9 KB) | DXE |

## Overview

Platform-specific PCI configuration DXE driver for the Lenovo HR650X server. Installs the EFI_PCI_PLATFORM_PROTOCOL to provide platform-level PCI configuration callbacks including bus number assignment, resource allocation, and interrupt routing overrides. The driver works with the PCI Host Bridge Resource Allocation driver to configure PCI bus topology, IO/MEM/Prefetchable apertures, and legacy interrupt mappings.

## Key Functions

- **ModuleEntryPoint** -- Entry point; initializes globals, registers the PCI Platform Protocol interface
- **PciPlatformPhaseNotify** -- Phase notification callback for platform PCI configuration
- **PciPlatformGetPlatformPolicy** -- Returns platform PCI policy (bus range, resource alignment, etc.)
- **PciPlatformPrepController** -- Platform preparation callback before a PCI controller is started
- **PciPlatformGetInterruptRouting** -- Returns platform-specific interrupt routing information

## Dependencies

- EFI_PCI_PLATFORM_PROTOCOL (installed by this driver)
- PCI Host Bridge Resource Allocation Protocol
- UEFI Boot/Runtime Services
- PCD Protocol

## Platform

Intel x86-64 (PE32+), Purley platform (HR650X). UEFI subsystem.