WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-devel

Re: [Xen-devel] mmio_decode()

To: Jan Beulich <jbeulich@xxxxxxxxxx>, <xen-devel@xxxxxxxxxxxxxxxxxxx>
Subject: Re: [Xen-devel] mmio_decode()
From: Keir Fraser <keir@xxxxxxxxxxxxx>
Date: Tue, 21 Nov 2006 13:44:58 +0000
Delivery-date: Tue, 21 Nov 2006 05:45:42 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <45630255.76E4.0078.0@xxxxxxxxxx>
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
Thread-index: AccNczvberF5wXlmEduJYgAX8io7RQ==
Thread-topic: [Xen-devel] mmio_decode()
User-agent: Microsoft-Entourage/11.2.5.060620


On 21/11/06 12:42, "Jan Beulich" <jbeulich@xxxxxxxxxx> wrote:

> Could anyone enlighten me why this function decodes arbitrary opcodes?
> I.e. 0x20...0x23 are all getting decoded, but only 0x00 (and not
> 0x01...0x03) and only 0x2B (and not 0x2A). I guess this is based on
> observed instructions used for mmio, but - this doesn't make sense! That
> way, we'll never get to a point where arbitrary OSes (or other
> environments) can get emulated.

Opcodes get faulted in as needed. Pretty stupid I agree.

 -- Keir


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

<Prev in Thread] Current Thread [Next in Thread>