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:
parent
c5dfd43b5f
commit
77bcd27207
2 changed files with 9 additions and 1 deletions
|
@ -1,3 +1,11 @@
|
||||||
|
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.
|
||||||
|
|
||||||
2008-03-26 Pavel Roskin <proski@gnu.org>
|
2008-03-26 Pavel Roskin <proski@gnu.org>
|
||||||
|
|
||||||
* normal/color.c (grub_parse_color_name_pair): Make `name' a
|
* normal/color.c (grub_parse_color_name_pair): Make `name' a
|
||||||
|
|
|
@ -806,7 +806,7 @@ FUNCTION(grub_biosdisk_get_diskinfo_int13_extensions)
|
||||||
|
|
||||||
/* compute the address of drive parameters */
|
/* compute the address of drive parameters */
|
||||||
movw %dx, %si
|
movw %dx, %si
|
||||||
xorw %dx, %dx
|
andl $0xf, %esi
|
||||||
shrl $4, %edx
|
shrl $4, %edx
|
||||||
movw %dx, %bx /* save the segment into %bx */
|
movw %dx, %bx /* save the segment into %bx */
|
||||||
/* drive */
|
/* drive */
|
||||||
|
|
Loading…
Reference in a new issue