]> git.ipfire.org Git - thirdparty/grub.git/commitdiff
2009-12-05 Robert Millan <rmh.grub@aybabtu.com>
authorRobert Millan <rmh@aybabtu.com>
Sat, 5 Dec 2009 01:43:17 +0000 (01:43 +0000)
committerRobert Millan <rmh@aybabtu.com>
Sat, 5 Dec 2009 01:43:17 +0000 (01:43 +0000)
        * kern/ieee1275/openfw.c (grub_reboot): Disable for i386.  The
        non-firmware-dependant one in realmode.S takes precedence.

ChangeLog
kern/ieee1275/openfw.c

index 933fc3f7bf0442ad23b6052c6d5106bfb62e5778..3c144e59379ebef189163085452d358160493f0b 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2009-12-05  Robert Millan  <rmh.grub@aybabtu.com>
+
+       * kern/ieee1275/openfw.c (grub_reboot): Disable for i386.  The
+       non-firmware-dependant one in realmode.S takes precedence.
+
 2009-12-04  Robert Millan  <rmh.grub@aybabtu.com>
 
        * commands/halt.c: Replace misc arch-specific headers with
index 20ef730e09bcd5bb4fff12c6094aa66af1450d20..9a2b0c9aac42a557018dc1c70c20b6992adc7dd6 100644 (file)
@@ -1,7 +1,7 @@
 /*  openfw.c -- Open firmware support functions.  */
 /*
  *  GRUB  --  GRand Unified Bootloader
- *  Copyright (C) 2003,2004,2005,2007,2008 Free Software Foundation, Inc.
+ *  Copyright (C) 2003,2004,2005,2007,2008,2009 Free Software Foundation, Inc.
  *
  *  GRUB is free software: you can redistribute it and/or modify
  *  it under the terms of the GNU General Public License as published by
@@ -399,11 +399,14 @@ grub_ieee1275_encode_devname (const char *path)
   return encoding;
 }
 
+/* On i386, a firmware-independant grub_reboot() is provided by realmode.S.  */
+#ifndef __i386__
 void
 grub_reboot (void)
 {
   grub_ieee1275_interpret ("reset-all", 0);
 }
+#endif
 
 void
 grub_halt (void)