qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: SMarF@gmx.de
To: qemu-devel@nongnu.org
Subject: [Qemu-devel] x86-64 far jmp
Date: Tue, 28 Feb 2006 07:31:34 +0100 (MET)	[thread overview]
Message-ID: <17097.1141108294@www036.gmx.net> (raw)

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

                 reply	other threads:[~2006-03-04 12:16 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=17097.1141108294@www036.gmx.net \
    --to=smarf@gmx.de \
    --cc=qemu-devel@nongnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).