qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemu-devel] x86-64 far jmp


From: SMarF
Subject: [Qemu-devel] x86-64 far jmp
Date: Tue, 28 Feb 2006 07:31:34 +0100 (MET)

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 +++




reply via email to

[Prev in Thread] Current Thread [Next in Thread]