diff options
authorLendacky, Thomas <>2021-04-29 12:12:12 -0500
committermergify[bot] <37929162+mergify[bot]>2021-04-30 18:35:50 +0000
commita3f12cd471305f7726b92b1f75a4ce8785d11b86 (patch)
parentcc71bd9709b07b6b9a5842c551e80541f0ae2593 (diff)
OvmfPkg: Define a new PPI GUID to signal TPM MMIO accessability
Define a new PPI GUID that is to be used as a signal of when it is safe to access the TPM MMIO range. This is needed so that, when SEV is active, the MMIO range can be mapped unencrypted before it is accessed. Cc: Laszlo Ersek <> Cc: Ard Biesheuvel <> Cc: Jordan Justen <> Cc: Brijesh Singh <> Cc: Erdem Aktas <> Cc: James Bottomley <> Cc: Jiewen Yao <> Cc: Min Xu <> Cc: Marc-André Lureau <> Cc: Stefan Berger <> Signed-off-by: Tom Lendacky <> Message-Id: <> Reviewed-by: Laszlo Ersek <>
1 files changed, 4 insertions, 0 deletions
diff --git a/OvmfPkg/OvmfPkg.dec b/OvmfPkg/OvmfPkg.dec
index 9629707020..6ae733f6e3 100644
--- a/OvmfPkg/OvmfPkg.dec
+++ b/OvmfPkg/OvmfPkg.dec
@@ -128,6 +128,10 @@
# has been discovered and recorded
gOvmfTpmDiscoveredPpiGuid = {0xb9a61ad0, 0x2802, 0x41f3, {0xb5, 0x13, 0x96, 0x51, 0xce, 0x6b, 0xd5, 0x75}}
+ # This PPI signals that accessing the MMIO range of the TPM is possible in
+ # the PEI phase, regardless of memory encryption
+ gOvmfTpmMmioAccessiblePpiGuid = {0x35c84ff2, 0x7bfe, 0x453d, {0x84, 0x5f, 0x68, 0x3a, 0x49, 0x2c, 0xf7, 0xb7}}
gVirtioDeviceProtocolGuid = {0xfa920010, 0x6785, 0x4941, {0xb6, 0xec, 0x49, 0x8c, 0x57, 0x9f, 0x16, 0x0a}}
gXenBusProtocolGuid = {0x3d3ca290, 0xb9a5, 0x11e3, {0xb7, 0x5d, 0xb8, 0xac, 0x6f, 0x7d, 0x65, 0xe6}}