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

[Xen-changelog] [xen-unstable] hvm: Emulate opcode 0x03 (ADD mem, reg).



# HG changeset patch
# User kfraser@xxxxxxxxxxxxxxxxxxxxx
# Date 1171899807 0
# Node ID e846a7a444fa0eba895857d3597164f7abd3d508
# Parent  5a07ea77a61daee5ab5fa15a20ad24f87bc97dae
hvm: Emulate opcode 0x03 (ADD mem,reg).
Signed-off-by: Keir Fraser <keir@xxxxxxxxxxxxx>
---
 xen/arch/x86/hvm/platform.c |    5 +++++
 1 files changed, 5 insertions(+)

diff -r 5a07ea77a61d -r e846a7a444fa xen/arch/x86/hvm/platform.c
--- a/xen/arch/x86/hvm/platform.c       Mon Feb 19 12:21:41 2007 +0000
+++ b/xen/arch/x86/hvm/platform.c       Mon Feb 19 15:43:27 2007 +0000
@@ -410,6 +410,11 @@ static int mmio_decode(int address_bytes
         GET_OP_SIZE_FOR_BYTE(size_reg);
         return reg_mem(size_reg, opcode, mmio_op, rex);
 
+    case 0x03: /* add m32/16, r32/16 */
+        mmio_op->instr = INSTR_ADD;
+        GET_OP_SIZE_FOR_NONEBYTE(*op_size);
+        return mem_reg(*op_size, opcode, mmio_op, rex);
+
     case 0x0A: /* or m8, r8 */
         mmio_op->instr = INSTR_OR;
         *op_size = BYTE;

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


 


Rackspace

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