]> git.proxmox.com Git - mirror_edk2.git/blob - SecurityPkg/Tcg/TcgConfigDxe/TcgConfigNvData.h
Add security package to repository.
[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
21 #define TCG_CONFIG_PRIVATE_GUID \
22 { \
23 0xb0f901e4, 0xc424, 0x45de, {0x90, 0x81, 0x95, 0xe2, 0xb, 0xde, 0x6f, 0xb5 } \
24 }
25
26 #define TCG_CONFIGURATION_VARSTORE_ID 0x0001
27 #define TCG_CONFIGURATION_FORM_ID 0x0001
28
29 #define KEY_HIDE_TPM 0x2000
30 #define KEY_TPM_ACTION 0x3000
31 #define KEY_TPM_MOR_ENABLE 0x4000
32
33 #define LABEL_TCG_CONFIGURATION_HIDETPM 0x0001
34 #define LABEL_END 0xffff
35
36 //
37 // Nv Data structure referenced by IFR
38 //
39 typedef struct {
40 BOOLEAN HideTpm;
41 BOOLEAN OriginalHideTpm;
42 BOOLEAN MorState;
43 UINT8 TpmOperation;
44 BOOLEAN TpmEnable;
45 BOOLEAN TpmActivate;
46 } TCG_CONFIGURATION;
47
48 #endif