qemu-e2k/pc-bios/optionrom
Avi Kivity d0652aa8ac linuxboot: fix gdt address calculation
The gdt address calculation in linuxboot.bin is broken in two ways: first
it loads %cs into %eax, but that instruction leaves the high bits of %eax
undefined and we did not clear them.  Secondly, we completely ignore the
incorrect %eax, and use the undefined %ebx instead.

With these issues fixed, linuxboot works again.

Signed-off-by: Avi Kivity <avi@redhat.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
2010-01-08 09:58:41 -06:00
..
Makefile Use vpath directive 2010-01-08 09:58:40 -06:00
linuxboot.S linuxboot: fix gdt address calculation 2010-01-08 09:58:41 -06:00
multiboot.S multiboot: Fix module loading and setting of mmap. 2009-12-03 15:25:58 -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