]>
Commit | Line | Data |
---|---|---|
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 | |
4 | cleared after it is processed in the next boot cycle. The TPM2 response \r | |
5 | is saved to variable.\r | |
6 | \r | |
7 | Copyright (c) 2015, Intel Corporation. All rights reserved. <BR>\r | |
8 | This program and the accompanying materials\r | |
9 | are licensed and made available under the terms and conditions of the BSD License\r | |
10 | which accompanies this distribution. The full text of the license may be found at\r | |
11 | http://opensource.org/licenses/bsd-license.php\r | |
12 | \r | |
13 | THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,\r | |
14 | WITHOUT 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 | |
28 | typedef 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 | |
37 | // It should be protected from malicious software (e.g. Set it as read-only variable). \r | |
38 | //\r | |
39 | #define TCG2_PHYSICAL_PRESENCE_FLAGS_VARIABLE L"Tcg2PhysicalPresenceFlags"\r | |
40 | typedef struct {\r | |
41 | UINT32 PPFlags;\r | |
42 | } EFI_TCG2_PHYSICAL_PRESENCE_FLAGS;\r | |
43 | \r | |
44 | extern EFI_GUID gEfiTcg2PhysicalPresenceGuid;\r | |
45 | \r | |
46 | #endif\r | |
47 | \r |