mirror of
https://git.savannah.gnu.org/git/grub.git
synced 2026-10-20 22:48:22 +00:00
Fix grub_machine_fini bitrot.
Reported by: Glenn Washburn.
This commit is contained in:
1 parent
c61471fc8b
commit
33690255c5
8 files changed
+16
-7
No files matched your search
@@ -57,10 +57,13 @@ grub_machine_init (void)
|
||||
}
|
||||
|
||||
void
|
||||
grub_machine_fini (void)
|
||||
grub_machine_fini (int flags)
|
||||
{
|
||||
grub_efi_boot_services_t *b;
|
||||
|
||||
if (!(flags & GRUB_LOADER_FLAG_NORETURN))
|
||||
return;
|
||||
|
||||
b = grub_efi_system_table->boot_services;
|
||||
|
||||
efi_call_3 (b->set_timer, tmr_evt, GRUB_EFI_TIMER_PERIODIC, 0);
|
||||
|
||||
Reference in new issue
Block a user