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:
parent
dde032e803
commit
b6783cb2ee
2 changed files with 4 additions and 0 deletions
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue