[efi] Add ability to reboot to firmware setup menu

Add the ability to reboot to the firmware setup menu (if supported) by
setting the relevant value in the OsIndications variable.

Signed-off-by: Michael Brown <mcb30@ipxe.org>
This commit is contained in:
Michael Brown
2025-04-28 14:01:17 +01:00
parent 7eaa2daf6f
commit 083e273bbc
3 changed files with 30 additions and 0 deletions

View File

@@ -56,6 +56,7 @@ FILE_LICENCE ( GPL2_OR_LATER_OR_UBDL );
void reboot ( int flags );
#define REBOOT_WARM 0x00000001 /**< Perform a warm reboot */
#define REBOOT_SETUP 0x00000002 /**< Reboot to firmware setup */
/**
* Power off system