]> git.proxmox.com Git - mirror_edk2.git/blame - SecurityPkg/Include/Guid/TcgEventHob.h
Handle TPM device error and avoid deadloop in BDS.
[mirror_edk2.git] / SecurityPkg / Include / Guid / TcgEventHob.h
CommitLineData
0c18794e 1/** @file\r
2 Defines the HOB GUID used to pass a TCG_PCR_EVENT from a TPM PEIM to \r
3 a TPM DXE Driver. A GUIDed HOB is generated for each measurement \r
4 made in the PEI Phase.\r
5 \r
6f785cfc 6Copyright (c) 2007 - 2015, 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
6f785cfc
JY
30///\r
31/// The Global ID of a GUIDed HOB used to record TPM device error.\r
32///\r
33#define EFI_TPM_ERROR_GUID \\r
34 { \\r
35 0xef598499, 0xb25e, 0x473a, { 0xbf, 0xaf, 0xe7, 0xe5, 0x7d, 0xce, 0x82, 0xc4 } \\r
36 }\r
37\r
38extern EFI_GUID gTpmErrorHobGuid;\r
39\r
0c18794e 40#endif\r