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

[Xen-devel] [PATCH] Add instruction fetching function to x86_emulate_ops

To: "Keir Fraser" <Keir.Fraser@xxxxxxxxxxxx>, xen-devel@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-devel] [PATCH] Add instruction fetching function to x86_emulate_ops.
From: "Petersson, Mats" <Mats.Petersson@xxxxxxx>
Date: Fri, 26 May 2006 20:23:45 +0200
Delivery-date: Fri, 26 May 2006 11:25:15 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
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: AcaA8YVcYNWcDm55S4qxyozsTmrkbA==
Thread-topic: [PATCH] Add instruction fetching function to x86_emulate_ops.
Attached patch introduces a separate function to fetch instruction
bytes, comapared to the read_std. It has the same parameters as the
read_std call, so there's actually no change to the behaviour in the
existing code, but when we introduce x86_emulate.c into QEMU, we will
benefit from knowing that it's instruction bytes being fetched, compared
to regular byte(s)-from-memory fetching. 

Signed off by: Mats Petersson <mats.petersson@xxxxxxx>

--
Mats

Attachment: patch.fetch_insn_bytes
Description: patch.fetch_insn_bytes

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
<Prev in Thread] Current Thread [Next in Thread>