summaryrefslogtreecommitdiffstats
path: root/hw/multiboot.h
diff options
context:
space:
mode:
authorAvi Kivity2009-12-24 14:38:50 +0100
committerAnthony Liguori2010-01-08 16:58:41 +0100
commitd0652aa8ac8d82e077acf8e781557f4c4367dcf5 (patch)
tree157fa2fc7a9f34a28c0f7405b700303be521d215 /hw/multiboot.h
parentQMP: Drop wrong assert() (diff)
downloadqemu-d0652aa8ac8d82e077acf8e781557f4c4367dcf5.tar.gz
qemu-d0652aa8ac8d82e077acf8e781557f4c4367dcf5.tar.xz
qemu-d0652aa8ac8d82e077acf8e781557f4c4367dcf5.zip
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>
Diffstat (limited to 'hw/multiboot.h')
0 files changed, 0 insertions, 0 deletions