diff options
author | Dun Tan <dun.tan@intel.com> | 2024-06-03 17:42:10 +0800 |
---|---|---|
committer | mergify[bot] <37929162+mergify[bot]@users.noreply.github.com> | 2024-07-02 03:31:31 +0000 |
commit | cb6ba975ae54f8eb915136264bf040d52d7bc2b4 (patch) | |
tree | 7c40037971966b6dbdc981969a6590218d4b6398 /SecurityPkg | |
parent | add3ca4e0060cbf134f3c8559d5569bda24a5c9b (diff) | |
download | edk2-cb6ba975ae54f8eb915136264bf040d52d7bc2b4.zip edk2-cb6ba975ae54f8eb915136264bf040d52d7bc2b4.tar.gz edk2-cb6ba975ae54f8eb915136264bf040d52d7bc2b4.tar.bz2 |
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>
Diffstat (limited to 'SecurityPkg')
-rw-r--r-- | SecurityPkg/Include/Guid/Tcg2AcpiCommunicateBuffer.h | 33 | ||||
-rw-r--r-- | SecurityPkg/SecurityPkg.dec | 3 |
2 files changed, 36 insertions, 0 deletions
diff --git a/SecurityPkg/Include/Guid/Tcg2AcpiCommunicateBuffer.h b/SecurityPkg/Include/Guid/Tcg2AcpiCommunicateBuffer.h new file mode 100644 index 0000000..c1d8c2d --- /dev/null +++ b/SecurityPkg/Include/Guid/Tcg2AcpiCommunicateBuffer.h @@ -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
diff --git a/SecurityPkg/SecurityPkg.dec b/SecurityPkg/SecurityPkg.dec index 65f3587..1fa9a56 100644 --- a/SecurityPkg/SecurityPkg.dec +++ b/SecurityPkg/SecurityPkg.dec @@ -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
|