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

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


  • To: "Keir Fraser" <Keir.Fraser@xxxxxxxxxxxx>, xen-devel@xxxxxxxxxxxxxxxxxxx
  • 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
  • List-id: Xen developer discussion <xen-devel.lists.xensource.com>
  • 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

 


Rackspace

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