qemu/pc-bios/optionrom
Alexander Graf 590bf491a4 Fix multiboot compilation
Commit dd4239d657 broke multiboot. It replaced the
instruction "rep insb (%dx), %es:(%edi)" by the binary output of
"addr32 rep insb (%dx), %es:(%di)".

Linuxboot calls the respective helper function in a code16 section. So the
original instruction was automatically translated to its "addr32" equivalent.
For multiboot, we're running in code32 so gcc didn't add the "addr32" which
breaks the instruction.

This patch splits that helper function in one which uses addr32 and one which
does not, so everyone's happy.

The good news is that nobody probably cared so far. The bundled multiboot.bin
binary was built before the change and is thus correct.

Please also put this patch into -stable.

Signed-off-by: Alexander Graf <agraf@suse.de>
Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
2010-06-09 12:35:18 +02:00
..
linuxboot.S Fix multiboot compilation 2010-06-09 12:35:18 +02:00
Makefile Use vpath directive 2010-01-08 09:58:40 -06:00
multiboot.S multiboot: Fix module loading and setting of mmap. 2009-12-03 15:25:58 -06:00
optionrom.h Fix multiboot compilation 2010-06-09 12:35:18 +02:00
signrom.sh Fix checksum writing in signboot.sh 2009-08-10 13:05:30 -05:00