]>
Commit | Line | Data |
---|---|---|
0c18794e | 1 | /** @file\r |
2 | Header file for NV data structure definition.\r | |
3 | \r | |
b3548d32 | 4 | Copyright (c) 2011 - 2018, Intel Corporation. All rights reserved.<BR>\r |
289b714b | 5 | SPDX-License-Identifier: BSD-2-Clause-Patent\r |
0c18794e | 6 | \r |
7 | **/\r | |
8 | \r | |
9 | #ifndef __TCG_CONFIG_NV_DATA_H__\r | |
10 | #define __TCG_CONFIG_NV_DATA_H__\r | |
11 | \r | |
12 | #include <Guid/HiiPlatformSetupFormset.h>\r | |
13 | #include <Guid/PhysicalPresenceData.h>\r | |
a0c56a82 | 14 | #include <Guid/TcgConfigHii.h>\r |
0c18794e | 15 | \r |
16 | #define TCG_CONFIGURATION_VARSTORE_ID 0x0001\r | |
17 | #define TCG_CONFIGURATION_FORM_ID 0x0001\r | |
18 | \r | |
2bc36371 | 19 | #define KEY_TPM_ACTION 0x3000\r |
0c18794e | 20 | \r |
2bc36371 DG |
21 | #define LABEL_TCG_CONFIGURATION_TPM_OPERATION 0x0001\r |
22 | #define LABEL_END 0xffff\r | |
0c18794e | 23 | \r |
24 | //\r | |
25 | // Nv Data structure referenced by IFR\r | |
26 | //\r | |
27 | typedef struct {\r | |
0c18794e | 28 | UINT8 TpmOperation;\r |
29 | BOOLEAN TpmEnable;\r | |
30 | BOOLEAN TpmActivate;\r | |
31 | } TCG_CONFIGURATION;\r | |
32 | \r | |
33 | #endif\r |