* grub-core/boot/i386/pc/boot.S: Fix %es:%bx pointing to nowhere on

floppy probe.
This commit is contained in:
Mirko Parthey 2010-12-26 20:49:08 +01:00 committed by Vladimir 'phcoder' Serbinenko
parent 190a011a8b
commit 5c408d0f50
2 changed files with 7 additions and 0 deletions

View file

@ -1,3 +1,8 @@
2010-12-25 Mirko Parthey <mirko.parthey@informatik.tu-chemnitz.de>
* grub-core/boot/i386/pc/boot.S: Fix %es:%bx pointing to nowhere on
floppy probe.
2010-12-25 Jeroen Dekkers <jeroen@dekkers.ch> 2010-12-25 Jeroen Dekkers <jeroen@dekkers.ch>
* grub-core/disk/raid.c (insert_array): Don't add spurious members. * grub-core/disk/raid.c (insert_array): Don't add spurious members.

View file

@ -459,6 +459,8 @@ fd_probe_error_string: .asciz "Floppy"
1: 1:
/* perform read */ /* perform read */
movw $GRUB_BOOT_MACHINE_BUFFER_SEG, %bx movw $GRUB_BOOT_MACHINE_BUFFER_SEG, %bx
movw %bx, %es
xorw %bx, %bx
movw $0x201, %ax movw $0x201, %ax
movb $0, %ch movb $0, %ch
movb $0, %dh movb $0, %dh