2009-10-28 Robert Millan <rmh.grub@aybabtu.com>

* kern/i386/coreboot/init.c (grub_exit): Reimplement in a way that
        doesn't cause an infinite call loop.
This commit is contained in:
robertmh 2009-10-28 22:02:54 +00:00
parent fdcdde1905
commit 2ed19dfded
2 changed files with 9 additions and 1 deletions

View file

@ -1,3 +1,8 @@
2009-10-28 Robert Millan <rmh.grub@aybabtu.com>
* kern/i386/coreboot/init.c (grub_exit): Reimplement in a way that
doesn't cause an infinite call loop.
2009-10-28 Felix Zielcke <fzielcke@z-51.de> 2009-10-28 Felix Zielcke <fzielcke@z-51.de>
* commands/acpi.c (grub_cmd_acpi): Fix the out of memory error * commands/acpi.c (grub_cmd_acpi): Fix the out of memory error

View file

@ -62,7 +62,10 @@ grub_stop_floppy (void)
void void
grub_exit (void) grub_exit (void)
{ {
grub_fatal ("grub_exit() is not implemented.\n"); /* We can't use grub_fatal() in this function. This would create an infinite
loop, since grub_fatal() calls grub_abort() which in turn calls grub_exit(). */
while (1)
grub_cpu_idle ();
} }
void void