From 8a4a64e6d7068d19c17d3a7c7227e84bcf4291bc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Filip=20Lewi=C5=84ski?= Date: Fri, 20 Oct 2023 14:30:19 +0200 Subject: [PATCH] wip MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Filip LewiƄski --- .../BootMaintenanceManager.vfr | 14 ++++++++++++++ .../BootMaintenanceManagerCustomizedUiSupport.c | 3 ++- 2 files changed, 16 insertions(+), 1 deletion(-) diff --git a/MdeModulePkg/Library/BootMaintenanceManagerUiLib/BootMaintenanceManager.vfr b/MdeModulePkg/Library/BootMaintenanceManagerUiLib/BootMaintenanceManager.vfr index 69fb606324..73119b2664 100644 --- a/MdeModulePkg/Library/BootMaintenanceManagerUiLib/BootMaintenanceManager.vfr +++ b/MdeModulePkg/Library/BootMaintenanceManagerUiLib/BootMaintenanceManager.vfr @@ -351,4 +351,18 @@ formset endform; + //form formid = FORM_TIME_OUT_ID, + // numeric val = BootTimeOut, + // STRING_TOKEN(STR_NUM_AUTO_BOOT), + // help = STRING_TOKEN(STR_HLP_AUTO_BOOT), + // nosubmitif + // prompt = STRING_TOKEN(AUTOBOOT_NOSUBMIT_IF_NEGATIVE), + // ideqval BootTimeOut < 0 + // endif + // endnumeric; + + //endform; + + + endformset; diff --git a/MdeModulePkg/Library/BootMaintenanceManagerUiLib/BootMaintenanceManagerCustomizedUiSupport.c b/MdeModulePkg/Library/BootMaintenanceManagerUiLib/BootMaintenanceManagerCustomizedUiSupport.c index 656106fc24..e3c4824140 100644 --- a/MdeModulePkg/Library/BootMaintenanceManagerUiLib/BootMaintenanceManagerCustomizedUiSupport.c +++ b/MdeModulePkg/Library/BootMaintenanceManagerUiLib/BootMaintenanceManagerCustomizedUiSupport.c @@ -122,6 +122,7 @@ BmmCreateTimeOutMenu ( IN EFI_HII_HANDLE HiiHandle, IN VOID *StartOpCodeHandle ) + //important { HiiCreateNumericOpCode ( StartOpCodeHandle, @@ -131,7 +132,7 @@ BmmCreateTimeOutMenu ( STRING_TOKEN(STR_NUM_AUTO_BOOT), STRING_TOKEN(STR_HLP_AUTO_BOOT), EFI_IFR_FLAG_CALLBACK, - EFI_IFR_NUMERIC_SIZE_2 | EFI_IFR_DISPLAY_UINT_DEC, + EFI_IFR_NUMERIC_SIZE_2 | EFI_IFR_DISPLAY_INT_DEC, 0, 65535, 0,