Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
Signed-off-by: Filip Lewiński <[email protected]>
  • Loading branch information
filipleple committed Oct 24, 2023
1 parent 43e6175 commit 95cda64
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -351,4 +351,18 @@ formset

endform;

form formid = FORM_TIME_OUT_ID,
title = STRING_TOKEN(STR_NUM_AUTO_BOOT);
numeric varid = BmmData.BootTimeOut,
prompt = STRING_TOKEN(STR_NUM_AUTO_BOOT),
help = STRING_TOKEN(STR_HLP_AUTO_BOOT),
nosubmitif
prompt = STRING_TOKEN(STR_NOSUBMITIF_AUTO_BOOT),
TRUE
endif;
endnumeric;
endform;



endformset;
Original file line number Diff line number Diff line change
Expand Up @@ -122,6 +122,7 @@ BmmCreateTimeOutMenu (
IN EFI_HII_HANDLE HiiHandle,
IN VOID *StartOpCodeHandle
)
//important
{
VOID *DefaultOpCodeHandle;

Expand All @@ -143,7 +144,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,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -123,6 +123,8 @@
#language fr-FR "Auto Boot Time-out"
#string STR_HLP_AUTO_BOOT #language en-US "Range: 0 to 65535 seconds, 0 means no wait, 65535 means waiting for key"
#language fr-FR "Range: 0 to 65535 seconds, 0 means no wait, 65535 means waiting for key"
#string STR_NOSUBMITIF_AUTO_BOOT #language en-US "Auto boot timeout value cannot be negative!"
#language fr-FR "Auto boot timeout value cannot be negative!"
#string STR_BOOT_NEXT #language en-US "Boot Next Value"
#language fr-FR "Boot Next Value"
#string STR_BOOT_NEXT_HELP #language en-US "Next boot use this boot option"
Expand Down

0 comments on commit 95cda64

Please sign in to comment.