SecurityPkg: Tcg2Dxe: Log Startup Locality Event
[mirror_edk2.git] / SecurityPkg / Include / Guid / TcgEventHob.h
CommitLineData
0c18794e 1/** @file\r
1abfa4ce 2 Defines the HOB GUID used to pass a TCG_PCR_EVENT or TCG_PCR_EVENT2 from a TPM PEIM to \r
0c18794e 3 a TPM DXE Driver. A GUIDed HOB is generated for each measurement \r
4 made in the PEI Phase.\r
5 \r
18458db1 6Copyright (c) 2007 - 2017, Intel Corporation. All rights reserved.<BR>\r
0c18794e 7This program and the accompanying materials \r
8are licensed and made available under the terms and conditions of the BSD License \r
9which accompanies this distribution. The full text of the license may be found at \r
10http://opensource.org/licenses/bsd-license.php\r
11\r
12THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS, \r
13WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r
14\r
15**/\r
16\r
17#ifndef _TCG_EVENT_HOB_H_\r
18#define _TCG_EVENT_HOB_H_\r
19\r
20///\r
21/// The Global ID of a GUIDed HOB used to pass a TCG_PCR_EVENT from a TPM PEIM to a TPM DXE Driver.\r
22///\r
23#define EFI_TCG_EVENT_HOB_GUID \\r
24 { \\r
301c867b 25 0x2b9ffb52, 0x1b13, 0x416f, { 0xa8, 0x7b, 0xbc, 0x93, 0xd, 0xef, 0x92, 0xa8 } \\r
0c18794e 26 }\r
27\r
28extern EFI_GUID gTcgEventEntryHobGuid;\r
29\r
1abfa4ce
JY
30#define EFI_TCG_EVENT2_HOB_GUID \\r
31 { \\r
32 0xd26c221e, 0x2430, 0x4c8a, { 0x91, 0x70, 0x3f, 0xcb, 0x45, 0x0, 0x41, 0x3f } \\r
33 }\r
34\r
35extern EFI_GUID gTcgEvent2EntryHobGuid;\r
36\r
6f785cfc
JY
37///\r
38/// The Global ID of a GUIDed HOB used to record TPM device error.\r
39///\r
40#define EFI_TPM_ERROR_GUID \\r
41 { \\r
42 0xef598499, 0xb25e, 0x473a, { 0xbf, 0xaf, 0xe7, 0xe5, 0x7d, 0xce, 0x82, 0xc4 } \\r
43 }\r
44\r
45extern EFI_GUID gTpmErrorHobGuid;\r
46\r
18458db1
ZC
47///\r
48/// The Global ID of a GUIDed HOB used to record TPM2 Startup Locality.\r
49/// HOB payload is UINT8 according to Startup Locality Event.\r
50///\r
51#define EFI_TPM2_STARTUP_LOCALITY_HOB_GUID \\r
52 { \\r
53 0xef598499, 0xb25e, 0x473a, { 0xbf, 0xaf, 0xe7, 0xe5, 0x7d, 0xce, 0x82, 0xc4 } \\r
54 }\r
55\r
56extern EFI_GUID gTpm2StartupLocalityHobGuid;\r
57\r
0c18794e 58#endif\r