AMI-Aptio-BIOS-Reversed / PurleyPlatPkg / Platform / Pei / PlatformInit / PlatformEarlyInit /
@Ajax Dong Ajax Dong authored on 6 Jun
..
PlatformEarlyInit.c Restructure the repo 3 months ago
PlatformEarlyInit.h Restructure the repo 3 months ago
PlatformEarlyInit.md Restructure the repo 3 months ago
README.md Restructure the repo 3 months ago
function_list.txt Restructure the repo 3 months ago
README.md

PlatformEarlyInit

Index: 0079 | Size: 10 KB (source) | Arch: x64 | Phase: PEI

Overview

PlatformEarlyInit performs platform-specific early initialization including PCH cycle decoding setup, memory frequency detection, and PPI table installation. It configures memory controller frequency parameters, sets up PAM (Programmable Attribute Map) registers for BIOS shadowing, and handles advanced debug jumper detection.

Key Functions

  • Memory frequency detection and configuration (MemoryInit_BeforePpm, MemoryInit_GetFreq, MemoryInit_SetFreq)
  • PCH cycle decoding configuration
  • PAM register locking for BIOS write-protection
  • PPI descriptor installation
  • Advanced debug jumper level detection
  • Platform resource descriptor HOB building

Protocols / PPIs / Dependencies

  • PEI PPI Descriptor
  • PchCycleDecode PPI
  • PeiServicesTablePointer PPI
  • MemoryInit PPI

Platform

HR650X (Purley platform, Lewisburg PCH)