]> git.proxmox.com Git - mirror_edk2.git/blob - SecurityPkg/Include/Guid/TcgEventHob.h
SecurityPkg: Replace BSD License with BSD+Patent License
[mirror_edk2.git] / SecurityPkg / Include / Guid / TcgEventHob.h
1 /** @file
2 Defines the HOB GUID used to pass a TCG_PCR_EVENT or TCG_PCR_EVENT2 from a TPM PEIM to
3 a TPM DXE Driver. A GUIDed HOB is generated for each measurement
4 made in the PEI Phase.
5
6 Copyright (c) 2007 - 2018, Intel Corporation. All rights reserved.<BR>
7 SPDX-License-Identifier: BSD-2-Clause-Patent
8
9 **/
10
11 #ifndef _TCG_EVENT_HOB_H_
12 #define _TCG_EVENT_HOB_H_
13
14 ///
15 /// The Global ID of a GUIDed HOB used to pass a TCG_PCR_EVENT from a TPM PEIM to a TPM DXE Driver.
16 ///
17 #define EFI_TCG_EVENT_HOB_GUID \
18 { \
19 0x2b9ffb52, 0x1b13, 0x416f, { 0xa8, 0x7b, 0xbc, 0x93, 0xd, 0xef, 0x92, 0xa8 } \
20 }
21
22 extern EFI_GUID gTcgEventEntryHobGuid;
23
24 #define EFI_TCG_EVENT2_HOB_GUID \
25 { \
26 0xd26c221e, 0x2430, 0x4c8a, { 0x91, 0x70, 0x3f, 0xcb, 0x45, 0x0, 0x41, 0x3f } \
27 }
28
29 extern EFI_GUID gTcgEvent2EntryHobGuid;
30
31 ///
32 /// The Global ID of a GUIDed HOB used to record TPM device error.
33 ///
34 #define EFI_TPM_ERROR_GUID \
35 { \
36 0xef598499, 0xb25e, 0x473a, { 0xbf, 0xaf, 0xe7, 0xe5, 0x7d, 0xce, 0x82, 0xc4 } \
37 }
38
39 extern EFI_GUID gTpmErrorHobGuid;
40
41 ///
42 /// The Global ID of a GUIDed HOB used to record TPM2 Startup Locality.
43 /// HOB payload is UINT8 according to Startup Locality Event.
44 ///
45 #define EFI_TPM2_STARTUP_LOCALITY_HOB_GUID \
46 { \
47 0xef598499, 0xb25e, 0x473a, { 0xbf, 0xaf, 0xe7, 0xe5, 0x7d, 0xce, 0x82, 0xc4 } \
48 }
49
50 extern EFI_GUID gTpm2StartupLocalityHobGuid;
51
52 #endif