qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] x86-64 far jmp
@ 2006-02-28  6:31 SMarF
  0 siblings, 0 replies; only message in thread
From: SMarF @ 2006-02-28  6:31 UTC (permalink / raw)
  To: qemu-devel

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain; charset="us-ascii", Size: 917 bytes --]

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

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2006-03-04 12:16 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-02-28  6:31 [Qemu-devel] x86-64 far jmp SMarF

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).