• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 /** @file
2   Header file for NV data structure definition.
3 
4 Copyright (c) 2011 - 2014, 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_TPM_ACTION                         0x3000
26 
27 #define LABEL_TCG_CONFIGURATION_TPM_OPERATION  0x0001
28 #define LABEL_END                              0xffff
29 
30 //
31 // Nv Data structure referenced by IFR
32 //
33 typedef struct {
34   UINT8   TpmOperation;
35   BOOLEAN TpmEnable;
36   BOOLEAN TpmActivate;
37 } TCG_CONFIGURATION;
38 
39 #endif
40