2013-09-18 07:31:18 +02:00
|
|
|
/** @file
|
|
|
|
VFR file used by the TREE configuration component.
|
|
|
|
|
|
|
|
Copyright (c) 2013, Intel Corporation. All rights reserved.<BR>
|
|
|
|
This program and the accompanying materials
|
|
|
|
are licensed and made available under the terms and conditions of the BSD License
|
|
|
|
which accompanies this distribution. The full text of the license may be found at
|
|
|
|
http://opensource.org/licenses/bsd-license.php
|
|
|
|
|
|
|
|
THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
|
|
|
|
WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
|
|
|
|
|
|
|
|
**/
|
|
|
|
|
|
|
|
#include "TrEEConfigNvData.h"
|
|
|
|
|
|
|
|
formset
|
|
|
|
guid = TREE_CONFIG_FORM_SET_GUID,
|
|
|
|
title = STRING_TOKEN(STR_TREE_TITLE),
|
|
|
|
help = STRING_TOKEN(STR_TREE_HELP),
|
|
|
|
classguid = EFI_HII_PLATFORM_SETUP_FORMSET_GUID,
|
|
|
|
|
2014-03-21 03:51:42 +01:00
|
|
|
efivarstore TREE_CONFIGURATION,
|
2013-09-18 07:31:18 +02:00
|
|
|
varid = TREE_CONFIGURATION_VARSTORE_ID,
|
2014-03-21 03:51:42 +01:00
|
|
|
attribute = 0x03, // EFI variable attribures EFI_VARIABLE_BOOTSERVICE_ACCESS | EFI_VARIABLE_NON_VOLATILE
|
2013-09-18 07:31:18 +02:00
|
|
|
name = TREE_CONFIGURATION,
|
|
|
|
guid = TREE_CONFIG_FORM_SET_GUID;
|
|
|
|
|
|
|
|
form formid = TREE_CONFIGURATION_FORM_ID,
|
|
|
|
title = STRING_TOKEN(STR_TREE_TITLE);
|
|
|
|
|
|
|
|
subtitle text = STRING_TOKEN(STR_NULL);
|
|
|
|
|
|
|
|
text
|
|
|
|
help = STRING_TOKEN(STR_TREE_DEVICE_STATE_HELP),
|
|
|
|
text = STRING_TOKEN(STR_TREE_DEVICE_STATE_PROMPT),
|
|
|
|
text = STRING_TOKEN(STR_TREE_DEVICE_STATE_CONTENT);
|
|
|
|
|
|
|
|
oneof varid = TREE_CONFIGURATION.TpmDevice,
|
|
|
|
questionid = KEY_TPM_DEVICE,
|
|
|
|
prompt = STRING_TOKEN(STR_TREE_DEVICE_PROMPT),
|
|
|
|
help = STRING_TOKEN(STR_TREE_DEVICE_HELP),
|
|
|
|
flags = INTERACTIVE,
|
|
|
|
option text = STRING_TOKEN(STR_TREE_TPM_1_2), value = TPM_DEVICE_1_2, flags = DEFAULT | MANUFACTURING | RESET_REQUIRED;
|
|
|
|
option text = STRING_TOKEN(STR_TREE_TPM_2_0_DTPM), value = TPM_DEVICE_2_0_DTPM, flags = RESET_REQUIRED;
|
|
|
|
endoneof;
|
|
|
|
|
|
|
|
subtitle text = STRING_TOKEN(STR_NULL);
|
|
|
|
|
|
|
|
suppressif ideqvallist TREE_CONFIGURATION.TpmDevice == TPM_DEVICE_NULL TPM_DEVICE_1_2;
|
|
|
|
|
|
|
|
subtitle text = STRING_TOKEN(STR_NULL);
|
|
|
|
subtitle text = STRING_TOKEN(STR_TREE_PP_OPERATION);
|
|
|
|
|
2014-03-21 03:51:42 +01:00
|
|
|
oneof name = Tpm2Operation,
|
|
|
|
questionid = KEY_TPM2_OPERATION,
|
2013-09-18 07:31:18 +02:00
|
|
|
prompt = STRING_TOKEN(STR_TREE_OPERATION),
|
|
|
|
help = STRING_TOKEN(STR_TREE_OPERATION_HELP),
|
2014-03-21 03:51:42 +01:00
|
|
|
flags = INTERACTIVE | NUMERIC_SIZE_1,
|
2013-09-18 07:31:18 +02:00
|
|
|
option text = STRING_TOKEN(STR_TREE_NO_ACTION), value = TREE_PHYSICAL_PRESENCE_NO_ACTION, flags = DEFAULT | MANUFACTURING | RESET_REQUIRED;
|
|
|
|
option text = STRING_TOKEN(STR_TREE_CLEAR), value = TREE_PHYSICAL_PRESENCE_CLEAR_CONTROL_CLEAR, flags = RESET_REQUIRED;
|
|
|
|
endoneof;
|
|
|
|
|
|
|
|
endif;
|
|
|
|
|
|
|
|
endform;
|
|
|
|
|
|
|
|
endformset;
|