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.
This commit is contained in:
parent
6b8474f8e8
commit
fb954db0d5
2 changed files with 9 additions and 1 deletions
|
@ -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>
|
2009-12-04 Robert Millan <rmh.grub@aybabtu.com>
|
||||||
|
|
||||||
* commands/halt.c: Replace misc arch-specific headers with
|
* commands/halt.c: Replace misc arch-specific headers with
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
/* openfw.c -- Open firmware support functions. */
|
/* openfw.c -- Open firmware support functions. */
|
||||||
/*
|
/*
|
||||||
* GRUB -- GRand Unified Bootloader
|
* 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
|
* GRUB is free software: you can redistribute it and/or modify
|
||||||
* it under the terms of the GNU General Public License as published by
|
* 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;
|
return encoding;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/* On i386, a firmware-independant grub_reboot() is provided by realmode.S. */
|
||||||
|
#ifndef __i386__
|
||||||
void
|
void
|
||||||
grub_reboot (void)
|
grub_reboot (void)
|
||||||
{
|
{
|
||||||
grub_ieee1275_interpret ("reset-all", 0);
|
grub_ieee1275_interpret ("reset-all", 0);
|
||||||
}
|
}
|
||||||
|
#endif
|
||||||
|
|
||||||
void
|
void
|
||||||
grub_halt (void)
|
grub_halt (void)
|
||||||
|
|
Loading…
Reference in a new issue