From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1FFVg0-0006Vn-4G for qemu-devel@nongnu.org; Sat, 04 Mar 2006 07:16:00 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1FFVfw-0006Tj-HH for qemu-devel@nongnu.org; Sat, 04 Mar 2006 07:15:59 -0500 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1FEAfB-00061t-1o for qemu-devel@nongnu.org; Tue, 28 Feb 2006 14:37:37 -0500 Received: from [213.165.64.20] (helo=mail.gmx.net) by monty-python.gnu.org with smtp (Exim 4.52) id 1FDyPU-00062H-As for qemu-devel@nongnu.org; Tue, 28 Feb 2006 01:32:36 -0500 Date: Tue, 28 Feb 2006 07:31:34 +0100 (MET) From: SMarF@gmx.de MIME-Version: 1.0 Message-ID: <17097.1141108294@www036.gmx.net> Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Subject: [Qemu-devel] x86-64 far jmp Reply-To: qemu-devel@nongnu.org List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Hi there, first of all: thanks for your excellent work of qemu. I'm using it since many months for a self written compiler and operating system (both very slim-lined). Testing a far-jump, qemu x86_64 works fine in 32 bit mode with 32 bit code, but in long mode the system hangs. Disassembly of the code is different to the coded, so perhaps this is a bug and my reason today to mail: FF 2C 24 58 66 B8 20 00 8E D8 is disassembled by qemu to ljmp *(%si) and $0x58,al mov $D88E0020,%eax instead of ljmp *(%rsp) pop %rax mov $0x20,%ax mov %ax,%ds Version used is 0.8.0 for windows (same with 0.7.2 for windows). The far jump is only used to load a new code selector (after creating a new GDT). Is there another way to do this that works with qemu? Thank you in advance Stefan -- 10 GB Mailbox, 100 FreeSMS/Monat http://www.gmx.net/de/go/topmail +++ GMX - die erste Adresse für Mail, Message, More +++