Newer
Older
AMI-Aptio-BIOS-Reversed / PlatformEarlyDxe / README.md
@Ajax Dong Ajax Dong 2 days ago 1 KB Init

PlatformEarlyDxe

Index Module Size Phase
325 PlatformEarlyDxe 18212 bytes (17.8 KB) DXE

Overview

Early platform initialization DXE driver that runs immediately after DXE core dispatch. Performs pre-requisite platform configuration such as chipset register programming, GPIO configuration, SMBus controller setup, and fixed-function device initialization. This driver establishes the baseline hardware state needed by all subsequent DXE drivers before PCI enumeration and other high-level initialization proceeds.

Key Functions

  • ModuleEntryPoint -- Entry point; initializes globals and dispatches early platform init routines
  • EarlyPlatformInit -- Core early initialization routine; programs chipset registers and configures platform-specific hardware
  • ConfigureGpioPins -- Sets GPIO pin directions and defaults per platform layout
  • InitSmbusController -- Initializes the SMBus controller for thermal and voltage regulator communication
  • ProgramFixedFunctionDevices -- Configures fixed-function device base addresses and enables

Dependencies

  • UEFI Boot/Runtime Services
  • PCD Protocol
  • Platform-specific chipset register definitions

Platform

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