mirror of
https://github.com/ipxe/ipxe
synced 2026-01-28 20:12:28 +03:00
[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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user