grub/util
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
..
elf 2008-08-02 Robert Millan <rmh@aybabtu.com> 2008-08-02 12:17:44 +00:00
grub.d 2008-08-01 Robert Millan <rmh@aybabtu.com> 2008-08-01 12:56:56 +00:00
i386 2008-08-02 Robert Millan <rmh@aybabtu.com> 2008-08-02 12:17:44 +00:00
ieee1275 2008-05-29 Robert Millan <rmh@aybabtu.com> 2008-05-29 16:27:24 +00:00
powerpc/ieee1275 2008-05-29 Robert Millan <rmh@aybabtu.com> 2008-05-29 16:27:24 +00:00
biosdisk.c 2008-07-04 Robert Millan <rmh@aybabtu.com> 2008-07-03 22:56:43 +00:00
console.c 2007-11-18 Christian Franke <franke@computer.org> 2007-11-18 07:20:45 +00:00
genmoddep.c Typo fixes in comments and variable names. 2007-12-30 08:52:06 +00:00
getroot.c 2008-07-27 Pavel Roskin <proski@gnu.org> 2008-07-27 05:57:10 +00:00
grub-editenv.c 2008-07-27 Bean <bean123ch@gmail.com> 2008-07-27 13:51:30 +00:00
grub-emu.c 2008-06-06 Robert Millan <rmh@aybabtu.com> 2008-06-06 15:49:23 +00:00
grub-fstest.c 2008-07-27 Bean <bean123ch@gmail.com> 2008-07-27 13:51:30 +00:00
grub-mkdevicemap.c 2008-06-04 Robert Millan <rmh@aybabtu.com> 2008-06-04 11:20:36 +00:00
grub-pe2elf.c 2008-07-24 Bean <bean123ch@gmail.com> 2008-07-24 14:56:30 +00:00
grub-probe.c 2008-05-30 Robert Millan <rmh@aybabtu.com> 2008-05-30 11:04:08 +00:00
hostfs.c 2008-03-30 Pavel Roskin <proski@gnu.org> 2008-03-30 18:32:15 +00:00
lvm.c 2008-04-06 Pavel Roskin <proski@gnu.org> 2008-04-06 17:51:56 +00:00
misc.c 2008-04-06 Pavel Roskin <proski@gnu.org> 2008-04-06 17:51:56 +00:00
raid.c 2008-04-06 Pavel Roskin <proski@gnu.org> 2008-04-06 17:51:56 +00:00
resolve.c 2007-07-22 Yoshinori K. Okuji <okuji@enbug.org> 2007-07-21 23:32:33 +00:00
unifont2pff.rb 2006-04-01 Vesa Jaaskelainen <chaac@nic.fi> 2006-04-01 19:23:01 +00:00
update-grub.in 2008-07-29 Christian Franke <franke@computer.org> 2008-07-29 15:38:05 +00:00
update-grub_lib.in 2008-07-29 Christian Franke <franke@computer.org> 2008-07-29 16:47:31 +00:00