mirror of
https://git.savannah.gnu.org/git/grub.git
synced 2026-10-25 16:49:23 +00:00
2009-06-11 Pavel Roskin <proski@gnu.org>
* kern/efi/efi.c (grub_exit): Add infinite loop at the end to fix a gcc warning and ensure that the function won't ever exit.
This commit is contained in:
1 parent
dde032e803
commit
b6783cb2ee
2 files changed
+4
No files matched your search
@@ -1,5 +1,8 @@
|
|||||||
2009-06-11 Pavel Roskin <proski@gnu.org>
|
2009-06-11 Pavel Roskin <proski@gnu.org>
|
||||||
|
|
||||||
|
* kern/efi/efi.c (grub_exit): Add infinite loop at the end to
|
||||||
|
fix a gcc warning and ensure that the function won't ever exit.
|
||||||
|
|
||||||
* kern/i386/ieee1275/init.c: Add missing prototype for
|
* kern/i386/ieee1275/init.c: Add missing prototype for
|
||||||
grub_stop_floppy().
|
grub_stop_floppy().
|
||||||
|
|
||||||
|
|||||||
@@ -158,6 +158,7 @@ grub_exit (void)
|
|||||||
grub_efi_fini ();
|
grub_efi_fini ();
|
||||||
efi_call_4 (grub_efi_system_table->boot_services->exit,
|
efi_call_4 (grub_efi_system_table->boot_services->exit,
|
||||||
grub_efi_image_handle, GRUB_EFI_SUCCESS, 0, 0);
|
grub_efi_image_handle, GRUB_EFI_SUCCESS, 0, 0);
|
||||||
|
for (;;) ;
|
||||||
}
|
}
|
||||||
|
|
||||||
void
|
void
|
||||||
|
|||||||
Reference in new issue
Block a user