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