]> git.proxmox.com Git - mirror_edk2.git/blame - SecurityPkg/Include/Guid/Tcg2PhysicalPresenceData.h
SecurityPkg: Replace BSD License with BSD+Patent License
[mirror_edk2.git] / SecurityPkg / Include / Guid / Tcg2PhysicalPresenceData.h
CommitLineData
1abfa4ce
JY
1/** @file\r
2 Define the variable data structures used for TCG2 physical presence.\r
3 The TPM2 request from firmware or OS is saved to variable. And it is\r
b3548d32 4 cleared after it is processed in the next boot cycle. The TPM2 response\r
1abfa4ce
JY
5 is saved to variable.\r
6\r
b3548d32 7Copyright (c) 2015 - 2018, Intel Corporation. All rights reserved. <BR>\r
289b714b 8SPDX-License-Identifier: BSD-2-Clause-Patent\r
1abfa4ce
JY
9\r
10**/\r
11\r
12#ifndef __TCG2_PHYSICAL_PRESENCE_DATA_GUID_H__\r
13#define __TCG2_PHYSICAL_PRESENCE_DATA_GUID_H__\r
14\r
15#define EFI_TCG2_PHYSICAL_PRESENCE_DATA_GUID \\r
16 { \\r
17 0xaeb9c5c1, 0x94f1, 0x4d02, { 0xbf, 0xd9, 0x46, 0x2, 0xdb, 0x2d, 0x3c, 0x54 } \\r
18 }\r
19\r
20#define TCG2_PHYSICAL_PRESENCE_VARIABLE L"Tcg2PhysicalPresence"\r
21\r
22typedef struct {\r
23 UINT8 PPRequest; ///< Physical Presence request command.\r
24 UINT32 PPRequestParameter; ///< Physical Presence request Parameter.\r
25 UINT8 LastPPRequest;\r
26 UINT32 PPResponse;\r
27} EFI_TCG2_PHYSICAL_PRESENCE;\r
28\r
29//\r
30// This variable is used to save TCG2 Management Flags and corresponding operations.\r
b3548d32 31// It should be protected from malicious software (e.g. Set it as read-only variable).\r
1abfa4ce
JY
32//\r
33#define TCG2_PHYSICAL_PRESENCE_FLAGS_VARIABLE L"Tcg2PhysicalPresenceFlags"\r
34typedef struct {\r
35 UINT32 PPFlags;\r
36} EFI_TCG2_PHYSICAL_PRESENCE_FLAGS;\r
37\r
38extern EFI_GUID gEfiTcg2PhysicalPresenceGuid;\r
39\r
40#endif\r
41\r