# HG changeset patch
# User kfraser@xxxxxxxxxxxxxxxxxxxxx
# Date 1174062076 0
# Node ID f8ef8f4662253e68b577bd81df4be12c7c7cb860
# Parent 90d6fe6de04d14ed19f4797af751f8a9a7d94d13
hvm mmio: two additional mmio ops that OS/2 needs emulated.
From: Trolle Selander <trolle.selander@xxxxxxxxx>
Signed-off-by: Keir Fraser <keir@xxxxxxxxxxxxx>
---
xen/arch/x86/hvm/platform.c | 11 +++++++++++
1 files changed, 11 insertions(+)
diff -r 90d6fe6de04d -r f8ef8f466225 xen/arch/x86/hvm/platform.c
--- a/xen/arch/x86/hvm/platform.c Fri Mar 16 16:19:35 2007 +0000
+++ b/xen/arch/x86/hvm/platform.c Fri Mar 16 16:21:16 2007 +0000
@@ -415,6 +415,17 @@ static int mmio_decode(int address_bytes
GET_OP_SIZE_FOR_NONEBYTE(*op_size);
return mem_reg(*op_size, opcode, mmio_op, rex);
+ case 0x08: /* or r8, m8 */
+ mmio_op->instr = INSTR_OR;
+ *op_size = BYTE;
+ GET_OP_SIZE_FOR_BYTE(size_reg);
+ return reg_mem(size_reg, opcode, mmio_op, rex);
+
+ case 0x09: /* or r32/16, m32/16 */
+ mmio_op->instr = INSTR_OR;
+ GET_OP_SIZE_FOR_NONEBYTE(*op_size);
+ return reg_mem(*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
|