grub/kern
okuji 9be6b98b6f 2008-02-03 Yoshinori K. Okuji <okuji@enbug.org>
Add support for having a grub directory in a different drive. This
    is still only the data handling part.

    * kern/i386/pc/startup.S (multiboot_trampoline): Set %dh to 0xFF.
    (codestart): Save %dh in GRUB_ROOT_DRIVE.
    (grub_root_drive): New variable.

    * kern/i386/pc/init.c (make_install_device): Use GRUB_ROOT_DRIVE
    instead of GRUB_BOOT_DRIVE to construct a device name. Set
    GRUB_ROOT_DRIVE to GRUB_BOOT_DRIVE if it is 0xFF, otherwise use it
    as it was.

    * include/grub/i386/pc/kernel.h (grub_root_drive): New prototype.

    * include/grub/i386/pc/boot.h (GRUB_BOOT_MACHINE_ROOT_DRIVE): New
    macro.
    (GRUB_BOOT_MACHINE_DRIVE_CHECK): Set to 0x4f.

    * boot/i386/pc/pxeboot.S (_start): Set %dh to 0xFF. For now, this
    is bogus, because PXE booting does not specify any drive
    correctly.

    * boot/i386/pc/lnxboot.S (reg_edx): Set the second byte to 0xFF. I
    am not sure if this is really correct.

    * boot/i386/pc/cdboot.S: Set %dh to 0xFF, because the root drive
    is always identical to the boot drive when booting from a CD.

    * boot/i386/pc/boot.S (MOV_MEM_TO_AL): Removed. Not needed any
    longer.
    (root_drive): New variable.
    (real_start): Unconditionally set %dh to ROOT_DRIVE.
    (setup_sectors): Push %dx right after popping it, because %dh will
    be modified later.
    (copy_buffer): Restore %dx.
2008-02-03 18:56:08 +00:00
..
efi 2007-07-22 Yoshinori K. Okuji <okuji@enbug.org> 2007-07-21 23:32:33 +00:00
i386 2008-02-03 Yoshinori K. Okuji <okuji@enbug.org> 2008-02-03 18:56:08 +00:00
ieee1275 2008-01-21 Robert Millan <rmh@aybabtu.com> 2008-01-21 14:22:38 +00:00
powerpc 2008-01-28 Robert Millan <rmh@aybabtu.com> 2008-01-28 16:58:13 +00:00
sparc64 2008-01-15 Robert Millan <rmh@aybabtu.com> 2008-01-15 16:14:33 +00:00
device.c 2008-01-08 Robert Millan <rmh@aybabtu.com> 2008-01-09 23:25:54 +00:00
disk.c 2008-02-01 Robert Millan <rmh@aybabtu.com> 2008-02-01 00:50:19 +00:00
dl.c * kern/dl.c (grub_dl_load): Don't abort if prefix is not set, 2008-01-26 20:34:58 +00:00
elf.c 2008-01-21 Robert Millan <rmh@aybabtu.com> 2008-01-21 14:22:38 +00:00
env.c 2008-01-05 Robert Millan <rmh@aybabtu.com> 2008-01-05 12:04:35 +00:00
err.c 2007-07-22 Yoshinori K. Okuji <okuji@enbug.org> 2007-07-21 23:32:33 +00:00
file.c 2008-01-25 Robert Millan <rmh@aybabtu.com> 2008-01-25 20:57:40 +00:00
fs.c 2007-07-22 Yoshinori K. Okuji <okuji@enbug.org> 2007-07-21 23:32:33 +00:00
loader.c 2007-07-22 Yoshinori K. Okuji <okuji@enbug.org> 2007-07-21 23:32:33 +00:00
main.c 2008-01-05 Robert Millan <rmh@aybabtu.com> 2008-01-05 12:04:35 +00:00
misc.c 2008-01-15 Robert Millan <rmh@aybabtu.com> 2008-01-15 17:22:09 +00:00
mm.c 2008-01-23 Robert Millan <rmh@aybabtu.com> 2008-01-23 14:57:40 +00:00
parser.c 2007-07-22 Yoshinori K. Okuji <okuji@enbug.org> 2007-07-21 23:32:33 +00:00
partition.c 2007-07-22 Yoshinori K. Okuji <okuji@enbug.org> 2007-07-21 23:32:33 +00:00
rescue.c 2008-01-30 Tristan Gingold <gingold@free.fr> 2008-01-30 14:42:09 +00:00
term.c 2007-12-25 Robert Millan <rmh@aybabtu.com> 2007-12-25 11:10:47 +00:00