AMI-Aptio-BIOS-Reversed / PlatformEarlyInit /
@Ajax Dong Ajax Dong authored on 6 Jun
..
PlatformEarlyInit.c Init 3 months ago
PlatformEarlyInit.h Init 3 months ago
PlatformEarlyInit.md Init 3 months ago
README.md Init 3 months ago
function_list.txt Init 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)