grub/util
robertmh 55a581dc06 2008-01-21 Robert Millan <rmh@aybabtu.com>
* conf/i386-pc.rmk (kernel_img_HEADERS): Add `machine/kernel.h'.
        (pkglib_MODULES): Add `memdisk.mod'.
        (memdisk_mod_SOURCES): New variable.
        (memdisk_mod_CFLAGS): Likewise.
        (memdisk_mod_LDFLAGS): Likewise.

        * disk/memdisk.c: New file.

        * include/grub/disk.h (grub_disk_dev_id): Add
        `GRUB_DISK_DEVICE_MEMDISK_ID'.

        * include/grub/i386/pc/kernel.h
        (GRUB_KERNEL_MACHINE_MEMDISK_IMAGE_SIZE): New macro.
        (GRUB_KERNEL_MACHINE_PREFIX): Increment by 4.
        (grub_kernel_image_size): New variable declaration.
        (grub_total_module_size): Likewise.
        (grub_memdisk_image_size): Likewise.

        * include/grub/i386/pc/memory.h
        (GRUB_MEMORY_MACHINE_DECOMPRESSION_ADDR): New macro.

        * include/grub/kernel.h: Include `<grub/symbol.h>'.
        (grub_arch_memdisk_addr): New variable declaration.
        (grub_arch_memdisk_size): Likewise.

        * kern/i386/pc/init.c (grub_arch_memdisk_addr): New function.
        (grub_arch_memdisk_size): Likewise.

        * kern/i386/pc/startup.S (grub_memdisk_image_size): New variable.
        (codestart): Replace hardcoded `0x100000' with
        `GRUB_MEMORY_MACHINE_DECOMPRESSION_ADDR' macro.

        * util/i386/pc/grub-mkimage.c: Include `<grub/misc.h>'.
        (generate_image): Add `memdisk_path' parameter.  When `memdisk_path' is
        not NULL, append the contents of the file it refers to, at the end of
        the compressed kernel image.  Initialize `grub_memdisk_image_size'
        variable (at `GRUB_KERNEL_MACHINE_MEMDISK_IMAGE_SIZE' offset).
        (options): Add "memdisk"|'m' option.
        (main): Parse --memdisk|-m option, and pass user-provided path as
        parameter to generate_image().
2008-01-20 23:20:36 +00:00
..
elf 2007-10-12 Robert Millan <rmh@aybabtu.com> 2007-10-12 10:22:31 +00:00
grub.d 2008-01-14 Robert Millan <rmh@aybabtu.com> 2008-01-14 12:24:48 +00:00
i386 2008-01-21 Robert Millan <rmh@aybabtu.com> 2008-01-20 23:20:36 +00:00
ieee1275 ... and add the missing files :-/ 2007-08-28 10:22:15 +00:00
powerpc/ieee1275 2008-01-12 Robert Millan <rmh@aybabtu.com> 2008-01-12 15:11:57 +00:00
biosdisk.c 2008-01-05 Robert Millan <rmh@aybabtu.com> 2008-01-05 12:02:03 +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-01-12 Robert Millan <rmh@aybabtu.com> 2008-01-12 15:11:57 +00:00
grub-emu.c 2008-01-15 Christian Franke <franke@computer.org> 2008-01-15 11:49:22 +00:00
grub-mkdevicemap.c 2008-01-03 Pavel Roskin <proski@gnu.org> 2008-01-03 22:43:46 +00:00
grub-probe.c 2008-01-12 Robert Millan <rmh@aybabtu.com> 2008-01-12 15:11:57 +00:00
hostfs.c 2007-11-18 Christian Franke <franke@computer.org> 2007-11-18 07:14:26 +00:00
lvm.c 2007-07-22 Yoshinori K. Okuji <okuji@enbug.org> 2007-07-21 23:32:33 +00:00
misc.c 2007-10-21 Robert Millan <rmh@aybabtu.com> 2007-10-21 12:29:33 +00:00
raid.c 2007-07-22 Yoshinori K. Okuji <okuji@enbug.org> 2007-07-21 23:32:33 +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-01-12 Robert Millan <rmh@aybabtu.com> 2008-01-12 15:11:57 +00:00
update-grub_lib.in 2008-01-12 Robert Millan <rmh@aybabtu.com> 2008-01-12 15:11:57 +00:00