mirror of
https://git.savannah.gnu.org/git/grub.git
synced 2026-10-26 09:10:53 +00:00
2008-03-28 Pavel Roskin <proski@gnu.org>
* kern/i386/pc/startup.S (grub_biosdisk_get_diskinfo_int13_extensions): When converting data block address to the real mode, keep offset minimal. This works around a bug in AWARD BIOS on old Athlon systems, which makes CD detection hang.
This commit is contained in:
1 parent
c5dfd43b5f
commit
77bcd27207
2 files changed
+9
-1
No files matched your search
@@ -806,7 +806,7 @@ FUNCTION(grub_biosdisk_get_diskinfo_int13_extensions)
|
||||
|
||||
/* compute the address of drive parameters */
|
||||
movw %dx, %si
|
||||
xorw %dx, %dx
|
||||
andl $0xf, %esi
|
||||
shrl $4, %edx
|
||||
movw %dx, %bx /* save the segment into %bx */
|
||||
/* drive */
|
||||
|
||||
Reference in new issue
Block a user