Newer
Older
AMI-Aptio-BIOS-Reversed / AmiModulePkg / TCG2 / Common / Tpm20Acpi / README.md
@Ajax Dong Ajax Dong 2 days ago 1 KB Full restructure

Tpm20Acpi

Index: 0073 | Size: 8672 bytes | Arch: x64 | Phase: DXE

Overview

This DXE driver provides TPM 2.0 ACPI table initialization and management for the HR650X platform. It communicates with the TPM hardware via memory-mapped I/O at 0xFED40000 and publishes ACPI tables (TPM2, SSDT) describing the TPM device to the OS. The driver detects TPM 2.0 hardware, locates DSDT/RSDT/XSDT tables, programs ACPI SSDT tables with TPM configuration information, and supports the TPM Physical Presence (TPP) interface.

Key Functions

  • ModuleEntryPoint -- Driver entry; initializes UEFI globals, locates HOB list and PCD protocol, maps PCI Express MMIO
  • DetectTpmHardware -- Detects TPM 2.0 hardware presence via memory-mapped registers at 0xFED40000
  • LocateDsdtTable -- Locates the DSDT table by walking RSDT/XSDT
  • ProgramTpmAcpiTables -- Programs ACPI SSDT tables with TPM configuration information

Protocols / Dependencies

  • ACPI Support Protocol
  • PCD Protocol
  • EFI DxeServicesTable (for HOB list)

Platform

HR650X (Dell, Intel)