2 VFR file used by the TCG configuration component.
4 Copyright (c) 2011 - 2015, 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 #include "TcgConfigNvData.h"
18 guid = TCG_CONFIG_FORM_SET_GUID,
19 title = STRING_TOKEN(STR_TPM_TITLE),
20 help = STRING_TOKEN(STR_TPM_HELP),
21 classguid = EFI_HII_PLATFORM_SETUP_FORMSET_GUID,
23 varstore TCG_CONFIGURATION,
24 varid = TCG_CONFIGURATION_VARSTORE_ID,
25 name = TCG_CONFIGURATION,
26 guid = TCG_CONFIG_FORM_SET_GUID;
28 form formid = TCG_CONFIGURATION_FORM_ID,
29 title = STRING_TOKEN(STR_TPM_TITLE);
31 subtitle text = STRING_TOKEN(STR_NULL);
34 help = STRING_TOKEN(STR_TPM_STATE_HELP),
35 text = STRING_TOKEN(STR_TPM_STATE_PROMPT),
36 text = STRING_TOKEN(STR_TPM_STATE_CONTENT);
38 subtitle text = STRING_TOKEN(STR_NULL);
40 oneof varid = TCG_CONFIGURATION.TpmOperation,
41 questionid = KEY_TPM_ACTION,
42 prompt = STRING_TOKEN(STR_TPM_OPERATION),
43 help = STRING_TOKEN(STR_TPM_OPERATION_HELP),
44 flags = INTERACTIVE | RESET_REQUIRED,
46 // Disable (TPM_ORD_PhysicalDisable) command is not available when disabled.
47 // Activate/deactivate (TPM_ORD_physicalSetDeactivated) command is not available when disabled.
49 suppressif ideqval TCG_CONFIGURATION.TpmEnable == 0;
50 option text = STRING_TOKEN(STR_DISABLE), value = PHYSICAL_PRESENCE_DISABLE, flags = 0;
51 option text = STRING_TOKEN(STR_TPM_ACTIVATE), value = PHYSICAL_PRESENCE_ACTIVATE, flags = 0;
52 option text = STRING_TOKEN(STR_TPM_DEACTIVATE), value = PHYSICAL_PRESENCE_DEACTIVATE, flags = 0;
53 option text = STRING_TOKEN(STR_TPM_DEACTIVATE_DISABLE), value = PHYSICAL_PRESENCE_DEACTIVATE_DISABLE, flags = 0;
56 // Clear (TPM_ORD_ForceClear) command is not available when disabled or deactivated.
58 suppressif ideqval TCG_CONFIGURATION.TpmEnable == 0 OR
59 ideqval TCG_CONFIGURATION.TpmActivate == 0;
60 option text = STRING_TOKEN(STR_TPM_CLEAR), value = PHYSICAL_PRESENCE_CLEAR, flags = 0;
61 option text = STRING_TOKEN(STR_TPM_CLEAR_ENABLE_ACTIVATE), value = PHYSICAL_PRESENCE_CLEAR_ENABLE_ACTIVATE, flags = 0;
64 option text = STRING_TOKEN(STR_ENABLE), value = PHYSICAL_PRESENCE_ENABLE, flags = DEFAULT;
65 option text = STRING_TOKEN(STR_TPM_ENABLE_ACTIVATE), value = PHYSICAL_PRESENCE_ENABLE_ACTIVATE, flags = 0;
66 option text = STRING_TOKEN(STR_TPM_ENABLE_ACTIVATE_CLEAR), value = PHYSICAL_PRESENCE_ENABLE_ACTIVATE_CLEAR, flags = 0;
67 option text = STRING_TOKEN(STR_TPM_ENABLE_ACTIVATE_CLEAR_E_A), value = PHYSICAL_PRESENCE_ENABLE_ACTIVATE_CLEAR_ENABLE_ACTIVATE, flags = 0;
70 subtitle text = STRING_TOKEN(STR_NULL);