2008-01-28 Robert Millan <rmh@aybabtu.com>
* include/grub/i386/linuxbios/kernel.h (GRUB_MOD_GAP): New macro. * kern/powerpc/ieee1275/init.c (grub_arch_modules_addr): Remove `ifndef GRUB_MOD_GAP' hack. * util/elf/grub-mkimage.c (add_segments): Likewise.
This commit is contained in:
parent
962ca13330
commit
11cc30ac40
4 changed files with 12 additions and 12 deletions
|
@ -1,3 +1,10 @@
|
|||
2008-01-28 Robert Millan <rmh@aybabtu.com>
|
||||
|
||||
* include/grub/i386/linuxbios/kernel.h (GRUB_MOD_GAP): New macro.
|
||||
* kern/powerpc/ieee1275/init.c (grub_arch_modules_addr): Remove
|
||||
`ifndef GRUB_MOD_GAP' hack.
|
||||
* util/elf/grub-mkimage.c (add_segments): Likewise.
|
||||
|
||||
2008-01-27 Robert Millan <rmh@aybabtu.com>
|
||||
|
||||
* kern/powerpc/ieee1275/init.c (grub_arch_modules_addr): Skip
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
/*
|
||||
* GRUB -- GRand Unified Bootloader
|
||||
* Copyright (C) 2005,2006,2007 Free Software Foundation, Inc.
|
||||
* Copyright (C) 2005,2006,2007,2008 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
|
||||
|
@ -23,4 +23,7 @@
|
|||
|
||||
#define GRUB_MOD_ALIGN 0x1000
|
||||
|
||||
/* Non-zero value is only needed for some IEEE-1275 platforms. */
|
||||
#define GRUB_MOD_GAP 0
|
||||
|
||||
#endif /* ! GRUB_KERNEL_MACHINE_HEADER */
|
||||
|
|
|
@ -242,10 +242,5 @@ grub_get_rtc (void)
|
|||
grub_addr_t
|
||||
grub_arch_modules_addr (void)
|
||||
{
|
||||
/* Only needed for Apple hardware (therefore, powerpc). */
|
||||
#ifndef GRUB_MOD_GAP
|
||||
#define GRUB_MOD_GAP 0
|
||||
#endif
|
||||
|
||||
return ALIGN_UP(_end + GRUB_MOD_GAP, GRUB_MOD_ALIGN);
|
||||
}
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
/*
|
||||
* GRUB -- GRand Unified Bootloader
|
||||
* Copyright (C) 2004,2005,2006,2007 Free Software Foundation, Inc.
|
||||
* Copyright (C) 2004,2005,2006,2007,2008 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
|
||||
|
@ -217,11 +217,6 @@ add_segments (char *dir, FILE *out, int chrp, char *mods[])
|
|||
{
|
||||
grub_addr_t modbase;
|
||||
|
||||
/* Only needed for Apple hardware (therefore, powerpc). */
|
||||
#ifndef GRUB_MOD_GAP
|
||||
#define GRUB_MOD_GAP 0
|
||||
#endif
|
||||
|
||||
/* Place modules just after grub segment. */
|
||||
modbase = ALIGN_UP(grub_end + GRUB_MOD_GAP, GRUB_MOD_ALIGN);
|
||||
|
||||
|
|
Loading…
Reference in a new issue