From 5ab96f5437e03ddc0288771fdfd9e916cd755aac Mon Sep 17 00:00:00 2001 From: Dun Tan Date: Thu, 23 May 2024 17:24:55 +0800 Subject: [PATCH] SecurityPkg: Add a new gEdkiiTpmInstanceHobGuid This new Guid HOB contains a TPM instance Guid which is the same as PcdTpmInstanceGuid. The HOB is used for StandaloneMm driver which needs to consume the dynamic PcdTpmInstanceGuid. Signed-off-by: Dun Tan --- SecurityPkg/SecurityPkg.dec | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/SecurityPkg/SecurityPkg.dec b/SecurityPkg/SecurityPkg.dec index a91e3ea028..2c2153c19e 100644 --- a/SecurityPkg/SecurityPkg.dec +++ b/SecurityPkg/SecurityPkg.dec @@ -230,6 +230,10 @@ ## GUID used to generate Spdm Uid gEfiDeviceSecuritySpdmUidGuid = {0xe37b5665, 0x5ef9, 0x4e7e, {0xb4, 0x91, 0xd6, 0x78, 0xab, 0xff, 0xfb, 0xcb }} + ## GUID used to tag the HOB indicating the TPM instance. + ## The GUIDed HOB contains the same value as PcdGetPtr (PcdTpmInstanceGuid). + gEdkiiTpmInstanceHobGuid = { 0x4551b023, 0xba46, 0x4584, { 0x81, 0xcd, 0x4d, 0xe8, 0x61, 0xa7, 0x28, 0xbe } } + [Ppis] ## The PPI GUID for that TPM physical presence should be locked. # Include/Ppi/LockPhysicalPresence.h