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 committed 2009-10-28 22:02:54 +00:00
1 parent fdcdde1905
commit 2ed19dfded
2 files changed
+9 -1

No files matched your search

+4 -1
View File
@@ -62,7 +62,10 @@ grub_stop_floppy (void)
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