move grub_halt out of kernel on most platforms

This commit is contained in:
Vladimir 'phcoder' Serbinenko 2010-05-04 17:15:36 +02:00
parent 4dff488793
commit 8496927478
18 changed files with 65 additions and 65 deletions

View file

@ -1,28 +0,0 @@
/*
* GRUB -- GRand Unified Bootloader
* Copyright (C) 2007 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
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* GRUB is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with GRUB. If not, see <http://www.gnu.org/licenses/>.
*/
#ifndef GRUB_INIT_I386_LINUXBIOS_HEADER
#define GRUB_INIT_I386_LINUXBIOS_HEADER 1
#include <grub/symbol.h>
#include <grub/i386/pc/memory.h>
#include <grub/i386/floppy.h>
void EXPORT_FUNC(grub_stop) (void) __attribute__ ((noreturn));
#endif

View file

@ -305,7 +305,7 @@ void EXPORT_FUNC (grub_reboot) (void);
* use APM even if it is available. */
void grub_halt (int no_apm);
#else
void EXPORT_FUNC (grub_halt) (void);
void grub_halt (void);
#endif
#endif /* ! GRUB_MISC_HEADER */