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

PlatformType

Index Module Size Phase
326 PlatformType 8356 bytes (8.2 KB) DXE

Overview

Platform type detection and reporting DXE driver for the Lenovo HR650X server. Identifies the specific platform SKU, hardware revision, and configuration variant by reading board ID signals, GPIO strapping, and SMBUS-based platform identification. Publishes the platform type information through UEFI variables and HOBs for consumption by other DXE drivers that need to adjust behavior based on hardware configuration.

Key Functions

  • ModuleEntryPoint -- Entry point; initializes globals and calls platform type detection routine
  • DetectPlatformType -- Reads hardware strapping signals to determine the specific platform SKU
  • GetPlatformRevision -- Retrieves platform revision and stepping information
  • PublishPlatformInfo -- Writes platform type and revision data into UEFI variables and HOBs
  • SetupPlatformTypeIndicator -- Programs platform type indicator registers and LEDs

Dependencies

  • UEFI Boot/Runtime Services
  • PCD Protocol

Platform

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