]> git.proxmox.com Git - mirror_edk2.git/blob - SecurityPkg/Include/Guid/TcgEventHob.h
Handle TPM device error and avoid deadloop in BDS.
[mirror_edk2.git] / SecurityPkg / Include / Guid / TcgEventHob.h
1 /** @file
2 Defines the HOB GUID used to pass a TCG_PCR_EVENT 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 - 2015, Intel Corporation. All rights reserved.<BR>
7 This program and the accompanying materials
8 are licensed and made available under the terms and conditions of the BSD License
9 which accompanies this distribution. The full text of the license may be found at
10 http://opensource.org/licenses/bsd-license.php
11
12 THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
13 WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
14
15 **/
16
17 #ifndef _TCG_EVENT_HOB_H_
18 #define _TCG_EVENT_HOB_H_
19
20 ///
21 /// The Global ID of a GUIDed HOB used to pass a TCG_PCR_EVENT from a TPM PEIM to a TPM DXE Driver.
22 ///
23 #define EFI_TCG_EVENT_HOB_GUID \
24 { \
25 0x2b9ffb52, 0x1b13, 0x416f, { 0xa8, 0x7b, 0xbc, 0x93, 0xd, 0xef, 0x92, 0xa8 } \
26 }
27
28 extern EFI_GUID gTcgEventEntryHobGuid;
29
30 ///
31 /// The Global ID of a GUIDed HOB used to record TPM device error.
32 ///
33 #define EFI_TPM_ERROR_GUID \
34 { \
35 0xef598499, 0xb25e, 0x473a, { 0xbf, 0xaf, 0xe7, 0xe5, 0x7d, 0xce, 0x82, 0xc4 } \
36 }
37
38 extern EFI_GUID gTpmErrorHobGuid;
39
40 #endif