]> git.proxmox.com Git - mirror_edk2.git/commitdiff
SecurityPkg/Guid: Add TCG 800-155 event GUID definition.
authorJiewen Yao <jiewen.yao@intel.com>
Mon, 30 Dec 2019 08:36:02 +0000 (16:36 +0800)
committermergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
Mon, 6 Jan 2020 06:23:19 +0000 (06:23 +0000)
REF: https://bugzilla.tianocore.org/show_bug.cgi?id=2439

The PEIM can produce the 800-155 event and the event
will be recorded to TCG event log by the TCG2 DXE.

Cc: Jian J Wang <jian.j.wang@intel.com>
Cc: Chao Zhang <chao.b.zhang@intel.com>
Signed-off-by: Jiewen Yao <jiewen.yao@intel.com>
Reviewed-by: Jian J Wang <jian.j.wang@intel.com>
SecurityPkg/Include/Guid/TcgEventHob.h
SecurityPkg/SecurityPkg.dec

index eef3f92abdb848619e3d993f4e034d84f3d878bc..97e40b47d0b1284cc4d83b80ab15b96a2d5833c3 100644 (file)
@@ -49,4 +49,15 @@ extern EFI_GUID gTpmErrorHobGuid;
 \r
 extern EFI_GUID gTpm2StartupLocalityHobGuid;\r
 \r
+///\r
+/// The Global ID of a GUIDed HOB used to record TCG 800-155 PlatformId Event.\r
+/// HOB payload is the whole TCG_Sp800_155_PlatformId_Event2 according to TCG 800-155 PlatformId Event.\r
+///\r
+#define EFI_TCG_800_155_PLATFORM_ID_EVENT_HOB_GUID \\r
+  { \\r
+    0xe2c3bc69, 0x615c, 0x4b5b, { 0x8e, 0x5c, 0xa0, 0x33, 0xa9, 0xc2, 0x5e, 0xd6 } \\r
+  }\r
+\r
+extern EFI_GUID gTcg800155PlatformIdEventHobGuid;\r
+\r
 #endif\r
index cac36caf0a0d1aa460169aeb858b980092364e12..5335cc53973a4f54c0d64dcde1eeea4324dce930 100644 (file)
   ## Include/Guid/TcgEventHob.h\r
   gTpm2StartupLocalityHobGuid        = { 0x397b0c9, 0x22e8, 0x459e, { 0xa4, 0xff, 0x99, 0xbc, 0x65, 0x27, 0x9, 0x29 }}\r
 \r
+  ## HOB GUID used to record TCG 800-155 PlatformId Event\r
+  ## Include/Guid/TcgEventHob.h\r
+  gTcg800155PlatformIdEventHobGuid   = { 0xe2c3bc69, 0x615c, 0x4b5b, { 0x8e, 0x5c, 0xa0, 0x33, 0xa9, 0xc2, 0x5e, 0xd6 }}\r
+\r
   ## HOB GUID used to pass all PEI measured FV info to DXE Driver.\r
   #  Include/Guid/MeasuredFvHob.h\r
   gMeasuredFvHobGuid                 = { 0xb2360b42, 0x7173, 0x420a, { 0x86, 0x96, 0x46, 0xca, 0x6b, 0xab, 0x10, 0x60 }}\r