qemu-devel
[Top][All Lists]
Advanced

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

Re: [Qemu-devel] Wrong Exception - should have GPF instead of PF for NUL


From: malc
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)

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:address@hidden




reply via email to

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