4713c69fa2319fceb5dd939d72a35e8b97c26878
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 d0652aa8ac
)
Read the documentation in qemu-doc.html. Fabrice Bellard.
Description
Languages
C
82.6%
C++
6.5%
Python
3.3%
Dylan
2.9%
Shell
1.6%
Other
2.9%