fix the problem that savedefault doesn't work with Stage 1.5.

This commit is contained in:
okuji 2001-02-02 13:31:03 +00:00
parent 9417ebb550
commit 00865a8027
11 changed files with 55 additions and 44 deletions

View file

@ -1,3 +1,22 @@
2001-02-02 OKUJI Yoshinori <okuji@gnu.org>
Make savedefault workable even with Stage 1.5. Reported by
Thierry Laronde <thierry@cri74.org>.
* grub/asmstub.c (chain_stage2): Added an additional argument,
SECOND_SECTOR.
* stage2/asm.S [STAGE1_5] (chain_stage2): Set %ebp to
SECOND_SECTOR.
* stage2/disk_io.c [STAGE1_5] (disk_read_hook): Defined.
[STAGE1_5] (disk_read_func): Likewise.
(rawread) [STAGE1_5]: Handle DISK_READ_FUNC.
(grub_read) [STAGE1_5]: Likewise.
* stage2/fsys_ext2fs.c (ext2fs_read) [STAGE1_5]: Likewise.
* stage2/fsys_fat.c (fat_read) [STAGE1_5]: Likewise.
* stage2/fsys_ffs.c (ffs_read) [STAGE1_5]: Likewise.
* stage2/fsys_minix.c (minix_read) [STAGE1_5]: Likewise.
* stage2/fsys_reiserfs.c (reiserfs_read) [STAGE1_5]: Likewise.
2001-02-02 OKUJI Yoshinori <okuji@gnu.org>
* netboot/config.c [GRUB && INCLUDE_PCI] (pci_dispatch_table):