|
From: | Paolo Bonzini |
Subject: | [Qemu-devel] Re: [PATCH master, stable-0.12] linuxboot: fix gdt address calculation |
Date: | Thu, 24 Dec 2009 14:56:40 +0100 |
User-agent: | Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1.5) Gecko/20091209 Fedora/3.0-4.fc12 Lightning/1.0pre Thunderbird/3.0 |
On 12/24/2009 02:38 PM, Avi Kivity wrote:
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.
Wow, I wonder how it worked for me... Paolo
[Prev in Thread] | Current Thread | [Next in Thread] |