grub2/include/grub
robertmh 3bd0a12aca 2008-08-02 Robert Millan <rmh@aybabtu.com>
* disk/memdisk.c (memdisk_size): Don't initialize.
        (GRUB_MOD_INIT(memdisk)): Find memdisk using grub_module_iterate().

        * include/grub/i386/pc/kernel.h
        (GRUB_KERNEL_MACHINE_MEMDISK_IMAGE_SIZE): Remove macro.
        (GRUB_KERNEL_MACHINE_PREFIX, GRUB_KERNEL_MACHINE_DATA_END): Shift.
        (grub_memdisk_image_size, grub_arch_memdisk_addr)
        (grub_arch_memdisk_size): Remove.

        * include/grub/kernel.h (struct grub_module_header): Remove `offset'
        field (was only used to transfer a constant).  Add `type' field to
        support multiple module types.
        (grub_module_iterate): New function.

        * kern/device.c (grub_device_open): Do not hide error messages
        when grub_disk_open() fails.  Use grub_print_error() instead.

        * kern/i386/pc/init.c (grub_arch_modules_addr)
        (grub_arch_memdisk_size): Remove functions.
        (grub_arch_modules_addr): Return the module address in high memory
        (now that it isn't copied anymore).

        * kern/i386/pc/startup.S (grub_memdisk_image_size): Remove variable.
        (codestart): Don't add grub_memdisk_image_size to %ecx in LZMA
        decompression routine (grub_total_module_size already includes that
        now).  Don't copy modules back to low memory.

        * kern/main.c: Include `<grub/mm.h>'.
        (grub_load_modules): Split out (and use) ...
        (grub_module_iterate): ... this function, which iterates through
        module objects and runs a hook.
        Comment out grub_mm_init_region() call, as it would cause non-ELF
        modules to be overwritten.

        * util/i386/pc/grub-mkimage.c (generate_image): Instead of appending
        the memdisk image in its own region, make it part of the module list.
        * util/elf/grub-mkimage.c (options): Add "memdisk"|'m' option.
        (main): Parse --memdisk|-m option, and pass user-provided path as
        parameter to generate_image().
        (add_segments): Pass `memdisk_path' down to load_modules().
        (load_modules): Embed memdisk image in module section when requested.
        * util/i386/efi/grub-mkimage.c (make_mods_section): Initialize
        `header.type' instead of `header.offset'.

        * conf/powerpc-ieee1275.rmk (pkglib_MODULES): Add `memdisk.mod'.
        (memdisk_mod_SOURCES, memdisk_mod_CFLAGS)
        (memdisk_mod_LDFLAGS): New variables.
        * conf/i386-coreboot.rmk: Likewise.
        * conf/i386-ieee1275.rmk: Likewise.
2008-08-02 12:17:44 +00:00
..
efi 2008-07-24 Bean <bean123ch@gmail.com> 2008-07-24 14:56:30 +00:00
i386 2008-08-02 Robert Millan <rmh@aybabtu.com> 2008-08-02 12:17:44 +00:00
ieee1275 2008-07-02 Bean <bean123ch@gmail.com> 2008-07-02 07:38:46 +00:00
lib 2008-07-27 Bean <bean123ch@gmail.com> 2008-07-27 13:51:30 +00:00
powerpc Add missing copyright years for recent changes 2008-07-31 19:33:23 +00:00
sparc64 * include/grub/i386/time.h: use "void" in the argument list 2007-11-25 01:46:59 +00:00
util 2008-03-30 Pavel Roskin <proski@gnu.org> 2008-03-30 18:04:40 +00:00
x86_64 2008-07-17 Bean <bean123ch@gmail.com> 2008-07-17 09:50:26 +00:00
acorn_filecore.h 2007-07-22 Yoshinori K. Okuji <okuji@enbug.org> 2007-07-21 23:32:33 +00:00
aout.h Fix typos in ChangeLog and comments 2008-07-13 18:13:36 +00:00
arg.h 2007-07-22 Yoshinori K. Okuji <okuji@enbug.org> 2007-07-21 23:32:33 +00:00
bitmap.h 2007-07-22 Yoshinori K. Okuji <okuji@enbug.org> 2007-07-21 23:32:33 +00:00
boot.h 2007-07-22 Yoshinori K. Okuji <okuji@enbug.org> 2007-07-21 23:32:33 +00:00
bufio.h 2008-08-01 Bean <bean123ch@gmail.com> 2008-08-01 04:06:55 +00:00
cache.h 2007-07-22 Yoshinori K. Okuji <okuji@enbug.org> 2007-07-21 23:32:33 +00:00
device.h 2007-07-22 Yoshinori K. Okuji <okuji@enbug.org> 2007-07-21 23:32:33 +00:00
disk.h 2008-06-26 Robert Millan <rmh@aybabtu.com> 2008-06-26 14:26:07 +00:00
dl.h 2008-07-24 Bean <bean123ch@gmail.com> 2008-07-24 14:56:30 +00:00
elf.h 2008-07-17 Bean <bean123ch@gmail.com> 2008-07-17 09:50:26 +00:00
elfload.h 2007-07-22 Yoshinori K. Okuji <okuji@enbug.org> 2007-07-21 23:32:33 +00:00
env.h 2007-07-22 Yoshinori K. Okuji <okuji@enbug.org> 2007-07-21 23:32:33 +00:00
err.h 2007-07-22 Yoshinori K. Okuji <okuji@enbug.org> 2007-07-21 23:32:33 +00:00
file.h 2007-08-02 Bean <bean123ch@gmail.com> 2007-08-02 18:40:37 +00:00
font.h 2007-07-22 Yoshinori K. Okuji <okuji@enbug.org> 2007-07-21 23:32:33 +00:00
fs.h 2008-05-30 Robert Millan <rmh@aybabtu.com> 2008-05-30 11:04:08 +00:00
fshelp.h 2008-06-16 Bean <bean123ch@gmail.com> 2008-06-16 19:02:08 +00:00
gpt_partition.h forgot "cvs add" ... 2008-02-19 14:16:29 +00:00
gzio.h 2007-07-22 Yoshinori K. Okuji <okuji@enbug.org> 2007-07-21 23:32:33 +00:00
hfs.h 2007-07-22 Yoshinori K. Okuji <okuji@enbug.org> 2007-07-21 23:32:33 +00:00
kernel.h 2008-08-02 Robert Millan <rmh@aybabtu.com> 2008-08-02 12:17:44 +00:00
loader.h 2007-07-22 Yoshinori K. Okuji <okuji@enbug.org> 2007-07-21 23:32:33 +00:00
lvm.h 2007-07-22 Yoshinori K. Okuji <okuji@enbug.org> 2007-07-21 23:32:33 +00:00
misc.h 2008-07-04 Pavel Roskin <proski@gnu.org> 2008-07-04 02:12:54 +00:00
mm.h 2007-07-22 Yoshinori K. Okuji <okuji@enbug.org> 2007-07-21 23:32:33 +00:00
multiboot2.h This patch is to introduce multiboot 2 loading capabilities to grub2 2007-07-25 00:44:03 +00:00
multiboot_loader.h This patch is to introduce multiboot 2 loading capabilities to grub2 2007-07-25 00:44:03 +00:00
multiboot.h This patch is to introduce multiboot 2 loading capabilities to grub2 2007-07-25 00:44:03 +00:00
net.h 2007-07-22 Yoshinori K. Okuji <okuji@enbug.org> 2007-07-21 23:32:33 +00:00
normal.h 2008-03-26 Pavel Roskin <proski@gnu.org> 2008-03-26 13:01:02 +00:00
ntfs.h 2008-06-08 Robert Millan <rmh@aybabtu.com> 2008-06-08 19:18:58 +00:00
parser.h 2007-07-22 Yoshinori K. Okuji <okuji@enbug.org> 2007-07-21 23:32:33 +00:00
partition.h 2007-07-22 Yoshinori K. Okuji <okuji@enbug.org> 2007-07-21 23:32:33 +00:00
pc_partition.h 2007-07-22 Yoshinori K. Okuji <okuji@enbug.org> 2007-07-21 23:32:33 +00:00
pci.h 2008-07-17 Bean <bean123ch@gmail.com> 2008-07-17 09:50:26 +00:00
raid.h 2008-02-08 Robert Millan <rmh@aybabtu.com> 2008-02-08 21:27:55 +00:00
rescue.h 2007-07-22 Yoshinori K. Okuji <okuji@enbug.org> 2007-07-21 23:32:33 +00:00
script.h 2008-05-29 Pavel Roskin <proski@gnu.org> 2008-05-30 03:26:56 +00:00
setjmp.h 2007-07-22 Yoshinori K. Okuji <okuji@enbug.org> 2007-07-21 23:32:33 +00:00
symbol.h 2008-07-24 Bean <bean123ch@gmail.com> 2008-07-24 14:56:30 +00:00
term.h 2008-02-05 Robert Millan <rmh@aybabtu.com> 2008-02-05 10:23:24 +00:00
terminfo.h 2007-07-22 Yoshinori K. Okuji <okuji@enbug.org> 2007-07-21 23:32:33 +00:00
time.h Actually add the files, and propagate changes.. 2007-10-22 20:02:16 +00:00
tparm.h 2007-07-22 Yoshinori K. Okuji <okuji@enbug.org> 2007-07-21 23:32:33 +00:00
types.h 2008-07-24 Pavel Roskin <proski@gnu.org> 2008-07-24 23:36:13 +00:00
video.h 2008-01-01 Vesa Jaaskelainen <chaac@nic.fi> 2008-01-01 12:02:07 +00:00