From: Fabrice Bellard <fabrice@bellard.org>
To: qemu-devel@nongnu.org
Subject: Re: [Qemu-devel] Wrong Exception - should have GPF instead of PF for NULL selector
Date: Sun, 13 Jun 2004 15:22:08 +0200 [thread overview]
Message-ID: <40CC5500.6010801@bellard.org> (raw)
In-Reply-To: <1087050882.597.6.camel@pcgem.rdg.cyberkinetica.com>
Antony T Curtis wrote:
> I have been looking at why OS/2 Warp Connect fails to start Presentation
> Manager under QEMU and I have found the following...
>
> We get a Page Fault when QEMU encounters the following instruction
>
> 0xfe0a9971: mov %es:(%si),%ebx
>
> Where ES=0x0000 and ESI=0xabde0000
>
> This should generate a General Protection exception as we are accessing
> memory using a NULL selector
>
> I don't know if it would fix OS/2 but it is definitely behaviour which
> is 'not correct'.
OK, it is not correct, but it is not the cause of the problem: I tried
to generate a GPF and I have the same bug. Moreover, I looked at the
code before and %es is really set to zero...
Fabrice.
next prev parent reply other threads:[~2004-06-13 13:20 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-06-12 14:34 [Qemu-devel] Wrong Exception - should have GPF instead of PF for NULL selector Antony T Curtis
2004-06-12 16:28 ` malc
2004-06-13 13:22 ` Fabrice Bellard [this message]
2004-06-13 15:22 ` Fabrice Bellard
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=40CC5500.6010801@bellard.org \
--to=fabrice@bellard.org \
--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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.