]>
git.proxmox.com Git - mirror_edk2.git/blob - SecurityPkg/Tcg/TrEEConfig/TrEEConfigNvData.h
2 Header file for NV data structure definition.
4 Copyright (c) 2013, 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
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.
15 #ifndef __TREE_CONFIG_NV_DATA_H__
16 #define __TREE_CONFIG_NV_DATA_H__
18 #include <Guid/HiiPlatformSetupFormset.h>
19 #include <Guid/TrEEPhysicalPresenceData.h>
20 #include <Guid/TrEEConfigHii.h>
22 #define TREE_CONFIGURATION_VARSTORE_ID 0x0001
23 #define TREE_CONFIGURATION_FORM_ID 0x0001
25 #define KEY_TPM_DEVICE 0x2000
27 #define TPM_DEVICE_NULL 0
28 #define TPM_DEVICE_1_2 1
29 #define TPM_DEVICE_2_0_DTPM 2
30 #define TPM_DEVICE_MAX TPM_DEVICE_2_0_DTPM
31 #define TPM_DEVICE_DEFAULT TPM_DEVICE_1_2
34 // Nv Data structure referenced by IFR
41 #define TREE_STORAGE_NAME L"TREE_CONFIGURATION"
43 #define TPM_INSTANCE_ID_LIST { \
44 {TPM_DEVICE_INTERFACE_NONE, TPM_DEVICE_NULL}, \
45 {TPM_DEVICE_INTERFACE_TPM12, TPM_DEVICE_1_2}, \
46 {TPM_DEVICE_INTERFACE_TPM20_DTPM, TPM_DEVICE_2_0_DTPM}, \
50 // BUGBUG: In order to pass VfrCompiler, we have to redefine GUID here.