]> git.proxmox.com Git - mirror_edk2.git/blame_incremental - SecurityPkg/Tcg/TcgConfigDxe/TcgConfigNvData.h
Update for SecurityPkg.
[mirror_edk2.git] / SecurityPkg / Tcg / TcgConfigDxe / TcgConfigNvData.h
... / ...
CommitLineData
1/** @file\r
2 Header file for NV data structure definition.\r
3\r
4Copyright (c) 2011, Intel Corporation. All rights reserved.<BR>\r
5This program and the accompanying materials \r
6are licensed and made available under the terms and conditions of the BSD License \r
7which accompanies this distribution. The full text of the license may be found at \r
8http://opensource.org/licenses/bsd-license.php\r
9\r
10THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS, \r
11WITHOUT 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#include <Guid/TcgConfigHii.h>\r
21\r
22#define TCG_CONFIGURATION_VARSTORE_ID 0x0001\r
23#define TCG_CONFIGURATION_FORM_ID 0x0001\r
24\r
25#define KEY_HIDE_TPM 0x2000\r
26#define KEY_TPM_ACTION 0x3000\r
27#define KEY_TPM_MOR_ENABLE 0x4000\r
28\r
29#define LABEL_TCG_CONFIGURATION_HIDETPM 0x0001\r
30#define LABEL_END 0xffff\r
31\r
32//\r
33// Nv Data structure referenced by IFR\r
34//\r
35typedef struct {\r
36 BOOLEAN HideTpm;\r
37 BOOLEAN OriginalHideTpm;\r
38 BOOLEAN MorState;\r
39 UINT8 TpmOperation;\r
40 BOOLEAN TpmEnable;\r
41 BOOLEAN TpmActivate;\r
42} TCG_CONFIGURATION;\r
43\r
44#endif\r