[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
grub2 ChangeLog boot/i386/pc/boot.S boot/i386/p...
From: |
Yoshinori K. Okuji |
Subject: |
grub2 ChangeLog boot/i386/pc/boot.S boot/i386/p... |
Date: |
Sun, 03 Feb 2008 18:56:08 +0000 |
CVSROOT: /cvsroot/grub
Module name: grub2
Changes by: Yoshinori K. Okuji <okuji> 08/02/03 18:56:08
Modified files:
. : ChangeLog
boot/i386/pc : boot.S cdboot.S lnxboot.S pxeboot.S
include/grub/i386/pc: boot.h kernel.h
kern/i386/pc : init.c startup.S
Log message:
2008-02-03 Yoshinori K. Okuji <address@hidden>
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.
CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/grub2/ChangeLog?cvsroot=grub&r1=1.560&r2=1.561
http://cvs.savannah.gnu.org/viewcvs/grub2/boot/i386/pc/boot.S?cvsroot=grub&r1=1.11&r2=1.12
http://cvs.savannah.gnu.org/viewcvs/grub2/boot/i386/pc/cdboot.S?cvsroot=grub&r1=1.1&r2=1.2
http://cvs.savannah.gnu.org/viewcvs/grub2/boot/i386/pc/lnxboot.S?cvsroot=grub&r1=1.2&r2=1.3
http://cvs.savannah.gnu.org/viewcvs/grub2/boot/i386/pc/pxeboot.S?cvsroot=grub&r1=1.3&r2=1.4
http://cvs.savannah.gnu.org/viewcvs/grub2/include/grub/i386/pc/boot.h?cvsroot=grub&r1=1.8&r2=1.9
http://cvs.savannah.gnu.org/viewcvs/grub2/include/grub/i386/pc/kernel.h?cvsroot=grub&r1=1.12&r2=1.13
http://cvs.savannah.gnu.org/viewcvs/grub2/kern/i386/pc/init.c?cvsroot=grub&r1=1.22&r2=1.23
http://cvs.savannah.gnu.org/viewcvs/grub2/kern/i386/pc/startup.S?cvsroot=grub&r1=1.31&r2=1.32
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- grub2 ChangeLog boot/i386/pc/boot.S boot/i386/p...,
Yoshinori K. Okuji <=