While it doesn't really make much sense to set "auto-reboot-to-firmware"
as oneshot boot item, let's still support it properly, by also
dispatching such a menu item if selected.
uefi_call_wrapper(BS->SetWatchdogTimer, 4, 0, 0x10000, 0, NULL);
if (!menu_run(&config, &entry, loaded_image_path))
break;
+ }
- /* run special entry like "reboot" */
- if (entry->call) {
- entry->call();
- continue;
- }
+ /* run special entry like "reboot" */
+ if (entry->call) {
+ entry->call();
+ continue;
}
config_entry_bump_counters(entry, root_dir);