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