]>
Commit | Line | Data |
---|---|---|
0c18794e | 1 | /** @file\r |
2 | Header file for NV data structure definition.\r | |
3 | \r | |
4 | Copyright (c) 2011, Intel Corporation. All rights reserved.<BR>\r | |
5 | This program and the accompanying materials \r | |
6 | are licensed and made available under the terms and conditions of the BSD License \r | |
7 | which accompanies this distribution. The full text of the license may be found at \r | |
8 | http://opensource.org/licenses/bsd-license.php\r | |
9 | \r | |
10 | THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS, \r | |
11 | WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r | |
12 | \r | |
13 | **/\r | |
14 | \r | |
15 | #ifndef __TCG_CONFIG_NV_DATA_H__\r | |
16 | #define __TCG_CONFIG_NV_DATA_H__\r | |
17 | \r | |
18 | #include <Guid/HiiPlatformSetupFormset.h>\r | |
19 | #include <Guid/PhysicalPresenceData.h>\r | |
20 | \r | |
21 | #define TCG_CONFIG_PRIVATE_GUID \\r | |
22 | { \\r | |
23 | 0xb0f901e4, 0xc424, 0x45de, {0x90, 0x81, 0x95, 0xe2, 0xb, 0xde, 0x6f, 0xb5 } \\r | |
24 | }\r | |
25 | \r | |
26 | #define TCG_CONFIGURATION_VARSTORE_ID 0x0001\r | |
27 | #define TCG_CONFIGURATION_FORM_ID 0x0001\r | |
28 | \r | |
29 | #define KEY_HIDE_TPM 0x2000\r | |
30 | #define KEY_TPM_ACTION 0x3000\r | |
31 | #define KEY_TPM_MOR_ENABLE 0x4000\r | |
32 | \r | |
33 | #define LABEL_TCG_CONFIGURATION_HIDETPM 0x0001\r | |
34 | #define LABEL_END 0xffff\r | |
35 | \r | |
36 | //\r | |
37 | // Nv Data structure referenced by IFR\r | |
38 | //\r | |
39 | typedef struct {\r | |
40 | BOOLEAN HideTpm;\r | |
41 | BOOLEAN OriginalHideTpm;\r | |
42 | BOOLEAN MorState;\r | |
43 | UINT8 TpmOperation;\r | |
44 | BOOLEAN TpmEnable;\r | |
45 | BOOLEAN TpmActivate;\r | |
46 | } TCG_CONFIGURATION;\r | |
47 | \r | |
48 | #endif\r |