qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: malc <malc@pulsesoft.com>
To: qemu-devel@nongnu.org
Subject: Re: [Qemu-devel] Wrong Exception - should have GPF instead of PF for NULL selector
Date: Sat, 12 Jun 2004 20:28:28 +0400 (MSD)	[thread overview]
Message-ID: <Pine.LNX.4.55.0406122024520.1530@home.oyster.ru> (raw)
In-Reply-To: <1087050882.597.6.camel@pcgem.rdg.cyberkinetica.com>

On Sat, 12 Jun 2004, 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'.

Not necessarily, for instance if es was loaded in real mode and cached
descriptor is valid.

-- 
mailto:malc@pulsesoft.com

  reply	other threads:[~2004-06-12 16:26 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 [this message]
2004-06-13 13:22 ` Fabrice Bellard
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=Pine.LNX.4.55.0406122024520.1530@home.oyster.ru \
    --to=malc@pulsesoft.com \
    --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).