Second part of the LBA fix

This commit is contained in:
Vladimir 'phcoder' Serbinenko committed 2009-11-27 13:38:01 +01:00
1 parent 0d67b44378
commit 6ee8daeead
2 files changed
+6

No files matched your search

+5
View File
@@ -824,6 +824,11 @@ FUNCTION(grub_biosdisk_get_diskinfo_standard)
.code16
movb $0x8, %ah
int $0x13 /* do the operation */
jc noclean2
/* Clean return value if carry isn't set to workaround
some buggy BIOSes. */
xor %ax, %ax
noclean2:
/* check if successful */
testb %ah, %ah
jnz 1f