OvmfPkg/PlatformInitLib: reserve pages for TPM

Add resource HOB for the TPM, and while being at it add comments for
the registered MMIO ranges.  Needed for TPM-enabled edk2 builds with
patina dxe code.

Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
diff --git a/OvmfPkg/Library/PlatformInitLib/Platform.c b/OvmfPkg/Library/PlatformInitLib/Platform.c
index 59e9d4f..8e338e0 100644
--- a/OvmfPkg/Library/PlatformInitLib/Platform.c
+++ b/OvmfPkg/Library/PlatformInitLib/Platform.c
@@ -198,8 +198,9 @@
   PlatformInfoHob->PcdPciMmio32Base = PciBase;

   PlatformInfoHob->PcdPciMmio32Size = PciSize;

 

-  PlatformAddIoMemoryBaseSizeHob (0xFEC00000, SIZE_4KB);

-  PlatformAddIoMemoryBaseSizeHob (0xFED00000, SIZE_4KB);

+  PlatformAddIoMemoryBaseSizeHob (0xFEC00000, SIZE_4KB);      // io-apic

+  PlatformAddIoMemoryBaseSizeHob (0xFED00000, SIZE_4KB);      // hpet

+  PlatformAddIoMemoryBaseSizeHob (0xFED40000, SIZE_4KB * 16); // tpm

   if (PlatformInfoHob->HostBridgeDevId == INTEL_Q35_MCH_DEVICE_ID) {

     PlatformAddIoMemoryBaseSizeHob (ICH9_ROOT_COMPLEX_BASE, SIZE_16KB);

     //