2009-07-01 Pavel Roskin <proski@gnu.org>
* util/misc.c: Move grub_reboot() and grub_halt() ... * util/grub-emu.c: ... here. Make main_env static. * include/grub/util/misc.h: Remove main_env.
This commit is contained in:
parent
2ef0084d80
commit
1b96e95249
4 changed files with 21 additions and 18 deletions
16
util/misc.c
16
util/misc.c
|
@ -439,19 +439,3 @@ fail:
|
|||
}
|
||||
|
||||
#endif /* __MINGW32__ */
|
||||
|
||||
void
|
||||
grub_reboot (void)
|
||||
{
|
||||
longjmp (main_env, 1);
|
||||
}
|
||||
|
||||
void
|
||||
grub_halt (
|
||||
#ifdef GRUB_MACHINE_PCBIOS
|
||||
int no_apm __attribute__ ((unused))
|
||||
#endif
|
||||
)
|
||||
{
|
||||
grub_reboot ();
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue