direct-io.hg

changeset 13986:e846a7a444fa

hvm: Emulate opcode 0x03 (ADD mem,reg).
Signed-off-by: Keir Fraser <keir@xensource.com>
author kfraser@localhost.localdomain
date Mon Feb 19 15:43:27 2007 +0000 (2007-02-19)
parents 5a07ea77a61d
children b90180c2a057
files xen/arch/x86/hvm/platform.c
line diff
     1.1 --- a/xen/arch/x86/hvm/platform.c	Mon Feb 19 12:21:41 2007 +0000
     1.2 +++ b/xen/arch/x86/hvm/platform.c	Mon Feb 19 15:43:27 2007 +0000
     1.3 @@ -410,6 +410,11 @@ static int mmio_decode(int address_bytes
     1.4          GET_OP_SIZE_FOR_BYTE(size_reg);
     1.5          return reg_mem(size_reg, opcode, mmio_op, rex);
     1.6  
     1.7 +    case 0x03: /* add m32/16, r32/16 */
     1.8 +        mmio_op->instr = INSTR_ADD;
     1.9 +        GET_OP_SIZE_FOR_NONEBYTE(*op_size);
    1.10 +        return mem_reg(*op_size, opcode, mmio_op, rex);
    1.11 +
    1.12      case 0x0A: /* or m8, r8 */
    1.13          mmio_op->instr = INSTR_OR;
    1.14          *op_size = BYTE;