Fix compilation errors

This commit is contained in:
phcoder 2011-01-03 02:28:14 +01:00
parent 0718f66d12
commit c18271ed00
8 changed files with 31 additions and 11 deletions

View file

@ -25,13 +25,11 @@
#include <grub/cache.h>
#include <grub/kernel.h>
#include <grub/efi/efi.h>
#include <grub/machine/misc.h>
void
grub_machine_init (void)
{
grub_efi_init ();
grub_init_modules ();
}
void

View file

@ -15,6 +15,10 @@
* You should have received a copy of the GNU General Public License
* along with GRUB. If not, see <http://www.gnu.org/licenses/>.
*/
#include <config.h>
#include <grub/symbol.h>
#include <grub/offsets.h>
.text
.psr abi64
.psr lsb
@ -38,3 +42,12 @@ _start:
br.ret.sptk.few rp
.endp _start
. = _start + GRUB_KERNEL_MACHINE_PREFIX
VARIABLE(grub_prefix)
/* to be filled by grub-mkimage */
/*
* Leave some breathing room for the prefix.
*/
. = _start + GRUB_KERNEL_MACHINE_PREFIX_END