diff options
author | 2009-12-24 15:38:50 +0200 | |
---|---|---|
committer | 2010-01-08 10:01:39 -0600 | |
commit | 4713c69fa2319fceb5dd939d72a35e8b97c26878 (patch) | |
tree | 9f167f196434b2cd95e6c8dec2d0ad5b5e6c11dd /qdict.c | |
parent | QMP: Drop wrong assert() (diff) | |
download | qemu-kvm-4713c69fa2319fceb5dd939d72a35e8b97c26878.tar.gz qemu-kvm-4713c69fa2319fceb5dd939d72a35e8b97c26878.tar.bz2 qemu-kvm-4713c69fa2319fceb5dd939d72a35e8b97c26878.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>
(cherry picked from commit d0652aa8ac8d82e077acf8e781557f4c4367dcf5)
Diffstat (limited to 'qdict.c')
0 files changed, 0 insertions, 0 deletions