SecurityPkg: Add new gEdkiiTcg2AcpiCommunicateBufferHobGuid

Add a new GUID HOB gEdkiiTcg2AcpiCommunicateBufferHobGuid.
This Tcg2 Acpi Communicate Buffer HOB is used to store the
address of a buffer reserved for Tcg2Acpi driver. The buffer
will be used to retrive information from Standalone mm
environment.

Signed-off-by: Dun Tan <dun.tan@intel.com>
This commit is contained in:
Dun Tan 2024-06-03 17:42:10 +08:00 committed by mergify[bot]
parent add3ca4e00
commit cb6ba975ae
2 changed files with 36 additions and 0 deletions

View File

@ -0,0 +1,33 @@
/** @file
This Tcg2 Acpi Communicate Buffer HOB is used to store the address
of a buffer reserved for Tcg2Acpi driver. The buffer will be used to
retrive information from standalone mm environment.
Copyright (c) 2024, Intel Corporation. All rights reserved.<BR>
SPDX-License-Identifier: BSD-2-Clause-Patent
**/
#ifndef TCG2_ACPI_COMMUNICATE_BUFFER_H_
#define TCG2_ACPI_COMMUNICATE_BUFFER_H_
#define TCG2_ACPI_COMMUNICATE_BUFFER_HOB_REVISION 1
#define TCG2_ACPI_COMMUNICATE_BUFFER_GUID \
{ \
0xcefea14f, 0x9f1a, 0x4774, {0x8d, 0x18, 0x79, 0x93, 0x8d, 0x48, 0xfe, 0x7d} \
}
typedef struct {
///
/// Base address of the buffer reserved for Tcg2Acpi driver.
/// Tcg2Acpi will use it to exchange information with Tcg2StandaloneMm.
///
EFI_PHYSICAL_ADDRESS Tcg2AcpiCommunicateBuffer;
UINT64 Pages;
} TCG2_ACPI_COMMUNICATE_BUFFER;
extern EFI_GUID gEdkiiTcg2AcpiCommunicateBufferHobGuid;
#endif

View File

@ -238,6 +238,9 @@
## The GUIDed HOB contains the same value as PcdGetPtr (PcdTcgPhysicalPresenceInterfaceVer).
gEdkiiTcgPhysicalPresenceInterfaceVerHobGuid = { 0x3979411a, 0x4e6d, 0x47e4, { 0x94, 0x4b, 0x0e, 0xcc, 0x6c, 0xf6, 0xc0, 0xcd } }
## Include/Guid/Tcg2AcpiCommunicateBuffer.h
gEdkiiTcg2AcpiCommunicateBufferHobGuid = { 0xcefea14f, 0x9f1a, 0x4774, { 0x8d, 0x18, 0x79, 0x93, 0x8d, 0x48, 0xfe, 0x7d } }
[Ppis]
## The PPI GUID for that TPM physical presence should be locked.
# Include/Ppi/LockPhysicalPresence.h