direct-io.hg

changeset 14410:f8ef8f466225

hvm mmio: two additional mmio ops that OS/2 needs emulated.

From: Trolle Selander <trolle.selander@gmail.com>
Signed-off-by: Keir Fraser <keir@xensource.com>
author kfraser@localhost.localdomain
date Fri Mar 16 16:21:16 2007 +0000 (2007-03-16)
parents 90d6fe6de04d
children 670aef15eb55
files xen/arch/x86/hvm/platform.c
line diff
     1.1 --- a/xen/arch/x86/hvm/platform.c	Fri Mar 16 16:19:35 2007 +0000
     1.2 +++ b/xen/arch/x86/hvm/platform.c	Fri Mar 16 16:21:16 2007 +0000
     1.3 @@ -415,6 +415,17 @@ static int mmio_decode(int address_bytes
     1.4          GET_OP_SIZE_FOR_NONEBYTE(*op_size);
     1.5          return mem_reg(*op_size, opcode, mmio_op, rex);
     1.6  
     1.7 +    case 0x08: /* or r8, m8 */	
     1.8 +        mmio_op->instr = INSTR_OR;
     1.9 +        *op_size = BYTE;
    1.10 +        GET_OP_SIZE_FOR_BYTE(size_reg);
    1.11 +        return reg_mem(size_reg, opcode, mmio_op, rex);
    1.12 +
    1.13 +    case 0x09: /* or r32/16, m32/16 */
    1.14 +        mmio_op->instr = INSTR_OR;
    1.15 +        GET_OP_SIZE_FOR_NONEBYTE(*op_size);
    1.16 +        return reg_mem(*op_size, opcode, mmio_op, rex);
    1.17 +
    1.18      case 0x0A: /* or m8, r8 */
    1.19          mmio_op->instr = INSTR_OR;
    1.20          *op_size = BYTE;