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

Re: [Xen-devel] [RFC][PATCH] Emulate instructions in vm86 mode


  • To: Bastian Blank <bastian@xxxxxxxxxxxx>
  • From: Keir Fraser <Keir.Fraser@xxxxxxxxxxxx>
  • Date: Thu, 07 Sep 2006 18:17:58 +0100
  • Cc: xen-devel@xxxxxxxxxxxxxxxxxxx
  • Delivery-date: Thu, 07 Sep 2006 10:16:47 -0700
  • List-id: Xen developer discussion <xen-devel.lists.xensource.com>
  • Thread-index: AcbSoZBZzywIkj6UEduzFAAX8io7RQ==
  • Thread-topic: [Xen-devel] [RFC][PATCH] Emulate instructions in vm86 mode



On 7/9/06 14:59, "Bastian Blank" <bastian@xxxxxxxxxxxx> wrote:

> Seems to work partialy. The i810 driver can init the hardware but I get
> weird artefacts. It seems that some of the memory which is used for the
> cursor is overwriten by the real video output or so. Therefor I think
> that one of the segment registers which the bios uses is overwriten
> somewhere in this gpf handling.
> 
> Hmm, the trap bounce code clears ds and es.

The trap bounce code clears fs and gs too, just as native hardware does on
an exception while in vm86 mode. The real values are saved on the exception
stack frame (hopefully!).

 -- Keir



_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.