qemu/pc-bios/optionrom
Alexander Graf dc61b0dc5a Make -kernel for linux work with bochsbios
While trying to run -kernel with -bios pc-bios/pcbios.bin, I realized
that I was actually writing data to %es, but only set up %ds to a 32-bit
segment we want to write to.

So at the end of the day the data hasn't actually been copied. Oops.

So here's a fix to set ES instead of DS, which makes -kernel work with
BOCHS bios again (and actually makes the code do the correct thing)!

Signed-off-by: Alexander Graf <agraf@suse.de>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
2009-12-03 15:25:58 -06:00
..
linuxboot.S Make -kernel for linux work with bochsbios 2009-12-03 15:25:58 -06:00
Makefile Convert linux bootrom to external rom and fw_cfg 2009-11-17 10:39:03 -06:00
multiboot.S Move common option rom code to header file 2009-11-17 10:39:03 -06:00
optionrom.h Allow build of linuxboot.S with old assemblers 2009-11-21 09:32:23 +00:00
signrom.sh Fix checksum writing in signboot.sh 2009-08-10 13:05:30 -05:00