111 lines
3.0 KiB
Plaintext
111 lines
3.0 KiB
Plaintext
/** @file
|
|
The Vfr component for Main menu
|
|
|
|
;******************************************************************************
|
|
;* Copyright (c) 2012 - 2019, Insyde Software Corp. All Rights Reserved.
|
|
;*
|
|
;* You may not reproduce, distribute, publish, display, perform, modify, adapt,
|
|
;* transmit, broadcast, present, recite, release, license or otherwise exploit
|
|
;* any part of this publication in any form, by any means, without the prior
|
|
;* written permission of Insyde Software Corporation.
|
|
;*
|
|
;******************************************************************************
|
|
*/
|
|
|
|
#include "KernelSetupConfig.h"
|
|
|
|
formset
|
|
guid = FORMSET_ID_GUID_MAIN,
|
|
title = STRING_TOKEN(STR_MAIN_TITLE),
|
|
help = STRING_TOKEN(STR_BLANK_STRING),
|
|
classguid = SETUP_UTILITY_FORMSET_CLASS_GUID,
|
|
class = SETUP_UTILITY_CLASS,
|
|
subclass = SETUP_UTILITY_SUBCLASS,
|
|
#if defined(SETUP_IMAGE_SUPPORT) && FeaturePcdGet(PcdH2OFormBrowserLocalMetroDESupported)
|
|
image = IMAGE_TOKEN(IMAGE_MAIN);
|
|
#endif
|
|
|
|
//
|
|
// Define a Buffer Storage (EFI_IFR_VARSTORE)
|
|
//
|
|
varstore KERNEL_CONFIGURATION, // This is the data structure type
|
|
varid = CONFIGURATION_VARSTORE_ID, // Optional VarStore ID
|
|
name = SystemConfig, // Define referenced name in vfr
|
|
guid = SYSTEM_CONFIGURATION_GUID; // GUID of this buffer storage
|
|
|
|
form
|
|
formid = ROOT_FORM_ID,
|
|
|
|
title = STRING_TOKEN(STR_MAIN_TITLE);
|
|
|
|
#if FeaturePcdGet(PcdMultiConfigSupported)
|
|
grayoutif TRUE;
|
|
label UPDATE_CONFIG_ID_LABEL;
|
|
label UPDATE_CONFIG_NAME_LABEL;
|
|
endif;
|
|
#endif
|
|
|
|
grayoutif TRUE;
|
|
label BIOS_VERSION_LABEL;
|
|
label BIOS_VERSION_END_LABEL;
|
|
label BIOS_BUILD_TIME_LABEL;
|
|
endif;
|
|
|
|
grayoutif TRUE;
|
|
label UPDATE_CPU_TYPE_LABEL;
|
|
label UPDATE_SYSTEM_BUS_SPEED_LABEL;
|
|
label UPDATE_SYSTEM_BUS_SPEED_END_LABEL;
|
|
|
|
text
|
|
help = STRING_TOKEN(STR_BLANK_STRING),
|
|
text = STRING_TOKEN(STR_SYSTEM_MEMORY_SPEED_STRING),
|
|
text = STRING_TOKEN(STR_SYSTEM_MEMORY_SPEED_STRING2),
|
|
flags = 0,
|
|
key = 0;
|
|
endif;
|
|
|
|
grayoutif TRUE;
|
|
label UPDATE_CACHE_RAM_LABEL;
|
|
endif;
|
|
|
|
grayoutif TRUE;
|
|
text
|
|
help = STRING_TOKEN(STR_BLANK_STRING),
|
|
text = STRING_TOKEN(STR_TOTAL_MEMORY_STRING),
|
|
text = STRING_TOKEN(STR_TOTAL_MEMORY_STRING2),
|
|
flags = 0,
|
|
key = 0;
|
|
label UPDATE_INFO_RAM_SLOT_LABEL;
|
|
label MAIN_PAGE_PLATFORM_INFO_LABEL;
|
|
endif;
|
|
|
|
label SETUP_UTILITY_LANG_MENU;
|
|
|
|
grayoutif
|
|
ideqval SystemConfig.UserAccessLevel == 2
|
|
AND
|
|
ideqval SystemConfig.SetUserPass == 1;
|
|
|
|
time
|
|
prompt = STRING_TOKEN(STR_TIME_PROMPT),
|
|
help = STRING_TOKEN(STR_TIME_HELP),
|
|
flags = STORAGE_TIME,
|
|
endtime;
|
|
|
|
date
|
|
|
|
prompt = STRING_TOKEN(STR_DATE_PROMPT),
|
|
help = STRING_TOKEN(STR_DATE_HELP),
|
|
flags = STORAGE_TIME,
|
|
enddate;
|
|
|
|
endif;
|
|
|
|
label COPYRIGHT_LABEL;
|
|
|
|
link;
|
|
|
|
endform;
|
|
|
|
endformset;
|