/** @file\r
- Defines the HOB GUID used to pass a TCG_PCR_EVENT from a TPM PEIM to \r
- a TPM DXE Driver. A GUIDed HOB is generated for each measurement \r
+ Defines the HOB GUID used to pass a TCG_PCR_EVENT or TCG_PCR_EVENT2 from a TPM PEIM to\r
+ a TPM DXE Driver. A GUIDed HOB is generated for each measurement\r
made in the PEI Phase.\r
- \r
-Copyright (c) 2007 - 2010, Intel Corporation. All rights reserved.<BR>\r
-This program and the accompanying materials \r
-are licensed and made available under the terms and conditions of the BSD License \r
-which accompanies this distribution. The full text of the license may be found at \r
+\r
+Copyright (c) 2007 - 2018, Intel Corporation. All rights reserved.<BR>\r
+This program and the accompanying materials\r
+are licensed and made available under the terms and conditions of the BSD License\r
+which accompanies this distribution. The full text of the license may be found at\r
http://opensource.org/licenses/bsd-license.php\r
\r
-THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS, \r
+THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,\r
WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r
\r
**/\r
///\r
#define EFI_TCG_EVENT_HOB_GUID \\r
{ \\r
- 0x2e3044ac, 0x879f, 0x490f, {0x97, 0x60, 0xbb, 0xdf, 0xaf, 0x69, 0x5f, 0x50 } \\r
+ 0x2b9ffb52, 0x1b13, 0x416f, { 0xa8, 0x7b, 0xbc, 0x93, 0xd, 0xef, 0x92, 0xa8 } \\r
}\r
\r
extern EFI_GUID gTcgEventEntryHobGuid;\r
\r
+#define EFI_TCG_EVENT2_HOB_GUID \\r
+ { \\r
+ 0xd26c221e, 0x2430, 0x4c8a, { 0x91, 0x70, 0x3f, 0xcb, 0x45, 0x0, 0x41, 0x3f } \\r
+ }\r
+\r
+extern EFI_GUID gTcgEvent2EntryHobGuid;\r
+\r
+///\r
+/// The Global ID of a GUIDed HOB used to record TPM device error.\r
+///\r
+#define EFI_TPM_ERROR_GUID \\r
+ { \\r
+ 0xef598499, 0xb25e, 0x473a, { 0xbf, 0xaf, 0xe7, 0xe5, 0x7d, 0xce, 0x82, 0xc4 } \\r
+ }\r
+\r
+extern EFI_GUID gTpmErrorHobGuid;\r
+\r
+///\r
+/// The Global ID of a GUIDed HOB used to record TPM2 Startup Locality.\r
+/// HOB payload is UINT8 according to Startup Locality Event.\r
+///\r
+#define EFI_TPM2_STARTUP_LOCALITY_HOB_GUID \\r
+ { \\r
+ 0xef598499, 0xb25e, 0x473a, { 0xbf, 0xaf, 0xe7, 0xe5, 0x7d, 0xce, 0x82, 0xc4 } \\r
+ }\r
+\r
+extern EFI_GUID gTpm2StartupLocalityHobGuid;\r
+\r
#endif\r