Re: possible bug in i386 boot.S floppy probing code

2010-12-26 Thread Vladimir 'φ-coder/phcoder' Serbinenko
On 10/26/2010 03:08 PM, Mirko Parthey wrote: > Hello all, > > while reading through grub-core/boot/i386/pc/boot.S in the Bazaar version > of Grub 2, I noticed that the floppy probing code calls > int $0x13, %ah===$0x02 /* disk read sector */ > without initializing the %es register, and with %bx ho

possible bug in i386 boot.S floppy probing code

2010-10-26 Thread Mirko Parthey
Hello all, while reading through grub-core/boot/i386/pc/boot.S in the Bazaar version of Grub 2, I noticed that the floppy probing code calls int $0x13, %ah===$0x02 /* disk read sector */ without initializing the %es register, and with %bx holding a value that was likely meant to go into %es. (boo