Fixed the effect of the --force-lba switch in stage2/stage1_5.

This commit is contained in:
jochen committed 2000-07-27 09:04:06 +00:00
1 parent eef046d8a5
commit 1e402724c6
2 files changed
+10 -5

No files matched your search

+5
View File
@@ -1,3 +1,8 @@
2000-07-27 Jochen Hoenicke <jochen@gnu.org>
* stage2/asm.S (check_int13_extensions): Fixed the effect of
the --force-lba switch in stage2/stage1_5.
2000-07-25 Jochen Hoenicke <jochen@gnu.org> 2000-07-25 Jochen Hoenicke <jochen@gnu.org>
* stage2/fsys_fat.c (fat_mount): Fixed calculation of num_clust. * stage2/fsys_fat.c (fat_mount): Fixed calculation of num_clust.
+5 -5
View File
@@ -1082,15 +1082,15 @@ ENTRY(check_int13_extensions)
cmpw $0xaa55, %bx cmpw $0xaa55, %bx
jne 1f jne 1f
movb %ah, %bl /* save the major version into %bl */
/* check if AH=0x42 is supported if FORCE_LBA is zero */ /* check if AH=0x42 is supported if FORCE_LBA is zero */
movb EXT_C(force_lba), %al movb EXT_C(force_lba), %al
testb %al, %al testb %al, %al
jnz 1f jnz 2f
andw $1, %cx andw $1, %cx
jz 1f jnz 2f
movb %ah, %bl /* save the major version into %bl */
jmp 2f
1: 1:
xorb %bl, %bl xorb %bl, %bl
2: 2: