]> git.proxmox.com Git - mirror_edk2.git/blame - SecurityPkg/Include/Guid/Tcg2PhysicalPresenceData.h
SecurityPkg: Clean up source files
[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
1abfa4ce
JY
8This program and the accompanying materials\r
9are licensed and made available under the terms and conditions of the BSD License\r
10which accompanies this distribution. The full text of the license may be found at\r
11http://opensource.org/licenses/bsd-license.php\r
12\r
13THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,\r
14WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r
15\r
16**/\r
17\r
18#ifndef __TCG2_PHYSICAL_PRESENCE_DATA_GUID_H__\r
19#define __TCG2_PHYSICAL_PRESENCE_DATA_GUID_H__\r
20\r
21#define EFI_TCG2_PHYSICAL_PRESENCE_DATA_GUID \\r
22 { \\r
23 0xaeb9c5c1, 0x94f1, 0x4d02, { 0xbf, 0xd9, 0x46, 0x2, 0xdb, 0x2d, 0x3c, 0x54 } \\r
24 }\r
25\r
26#define TCG2_PHYSICAL_PRESENCE_VARIABLE L"Tcg2PhysicalPresence"\r
27\r
28typedef struct {\r
29 UINT8 PPRequest; ///< Physical Presence request command.\r
30 UINT32 PPRequestParameter; ///< Physical Presence request Parameter.\r
31 UINT8 LastPPRequest;\r
32 UINT32 PPResponse;\r
33} EFI_TCG2_PHYSICAL_PRESENCE;\r
34\r
35//\r
36// This variable is used to save TCG2 Management Flags and corresponding operations.\r
b3548d32 37// It should be protected from malicious software (e.g. Set it as read-only variable).\r
1abfa4ce
JY
38//\r
39#define TCG2_PHYSICAL_PRESENCE_FLAGS_VARIABLE L"Tcg2PhysicalPresenceFlags"\r
40typedef struct {\r
41 UINT32 PPFlags;\r
42} EFI_TCG2_PHYSICAL_PRESENCE_FLAGS;\r
43\r
44extern EFI_GUID gEfiTcg2PhysicalPresenceGuid;\r
45\r
46#endif\r
47\r