fix a stage1 bug
This commit is contained in:
parent
9819c1d771
commit
bd6d015f8e
2 changed files with 6 additions and 1 deletions
|
@ -1,3 +1,8 @@
|
||||||
|
1999-06-24 OKUJI Yoshinori <okuji@kuicr.kyoto-u.ac.jp>
|
||||||
|
|
||||||
|
* stage1/stage1.S: Call testb instead of andb when checking if
|
||||||
|
the drive is a floppy.
|
||||||
|
|
||||||
1999-06-23 OKUJI Yoshinori <okuji@kuicr.kyoto-u.ac.jp>
|
1999-06-23 OKUJI Yoshinori <okuji@kuicr.kyoto-u.ac.jp>
|
||||||
|
|
||||||
* grub/asmstub.c [__linux__]: Include linux/fs.h for BLKFLSBUF.
|
* grub/asmstub.c [__linux__]: Include linux/fs.h for BLKFLSBUF.
|
||||||
|
|
|
@ -123,7 +123,7 @@ after_BPB:
|
||||||
/*
|
/*
|
||||||
* The call failed, so maybe use the floppy probe instead.
|
* The call failed, so maybe use the floppy probe instead.
|
||||||
*/
|
*/
|
||||||
andb $BIOS_HD_FLAG, %dl
|
testb $BIOS_HD_FLAG, %dl
|
||||||
jz floppy_probe
|
jz floppy_probe
|
||||||
|
|
||||||
/* Nope, we definitely have a hard disk, and we're screwed. */
|
/* Nope, we definitely have a hard disk, and we're screwed. */
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue