# AmiCpuPeiPreMem
**Index**: 0078 | **Size**: 16 KB (source) | **Arch**: x64 | **Phase**: PEI (pre-memory)

## Overview
AmiCpuPeiPreMem is a pre-memory PEI driver that performs early CPU initialization before system memory is available. It discovers firmware volumes by CPUID-based socket affinity, reads configuration data via PCD PPIs, and sets up early cache-as-RAM (CAR) resources for use by subsequent PEI modules.

## Key Functions
- FV (Firmware Volume) discovery by CPUID socket affinity
- PCD PPI data retrieval for CPU configuration
- Early CPU register programming
- Pre-memory PEI service initialization

## Protocols / PPIs / Dependencies
- PCD (Platform Configuration Database) PPI
- PeiServicesTablePointer PPI
- Firmware Volume PPI

## Platform
HR650X (Purley platform, Skylake-SP)
