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