Allow to reboot into UEFI Firmware setup interface after pressing F10 in the boot menu
This commit is contained in:
parent
94e6ca7aec
commit
e263effe13
@ -215,7 +215,8 @@ BlDisplayBootMenu()
|
|||||||
L"Press 'e' key to edit the highlighted menu entry.\n"
|
L"Press 'e' key to edit the highlighted menu entry.\n"
|
||||||
L"Press 's' key to exit into XTLDR shell (enters advanced mode).\n"
|
L"Press 's' key to exit into XTLDR shell (enters advanced mode).\n"
|
||||||
L" \n"
|
L" \n"
|
||||||
L"F1 shows this help, F11 reboots the machine and F12 turns it off.\n"
|
L"F1 shows this help, F10 reboots into UEFI firmware interface,\n"
|
||||||
|
L"F11 reboots the machine and F12 turns it off.\n"
|
||||||
L" \n"
|
L" \n"
|
||||||
L" \n"
|
L" \n"
|
||||||
L"XTLDR is a part of the ExectOS Operating System.\n"
|
L"XTLDR is a part of the ExectOS Operating System.\n"
|
||||||
@ -224,6 +225,15 @@ BlDisplayBootMenu()
|
|||||||
/* Break from boot menu event loop to redraw whole boot menu */
|
/* Break from boot menu event loop to redraw whole boot menu */
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
else if(Key.ScanCode == 0x14)
|
||||||
|
{
|
||||||
|
/* F10 key pressed, reboot into UEFI setup interface */
|
||||||
|
BlEnterFirmwareSetup();
|
||||||
|
BlDisplayErrorDialog(L"XTLDR", L"Reboot into firmware setup interface not supported!");
|
||||||
|
|
||||||
|
/* Break from boot menu event loop to redraw whole boot menu */
|
||||||
|
break;
|
||||||
|
}
|
||||||
else if(Key.ScanCode == 0x15)
|
else if(Key.ScanCode == 0x15)
|
||||||
{
|
{
|
||||||
/* F11 key pressed, reboot the machine */
|
/* F11 key pressed, reboot the machine */
|
||||||
|
Loading…
Reference in New Issue
Block a user