x86 emulator: Add missing decoder flags for 'or' instructions
PATCH 1/1 x86 emulator: Add missing decoder flags for 'or' instructions
Add missing decoder flags for or instructions (0xc-0xd)
Signed-off-by Mohammed Gamal <[email protected]>
--- arch/x86/kvm/emulate.c | 3 ++- 1 files changed, 2 insertions(+), 1 deletions(-)
arch/x86/kvm/emulate.c +2 -1
@@ -99,7 +99,8 @@ static u32 opcode_table[256] = {/* 0x08 - 0x0F */ ByteOp | DstMem | SrcReg | ModRM, DstMem | SrcReg | ModRM, ByteOp | DstReg | SrcMem | ModRM, DstReg | SrcMem | ModRM, -0 ,0 , ImplicitOps | Stack | No64,0 , + ByteOp | DstAcc | SrcImm, DstAcc | SrcImm, + ImplicitOps | Stack | No64,0 ,/* 0x10 - 0x17 */ ByteOp | DstMem | SrcReg | ModRM, DstMem | SrcReg | ModRM, ByteOp | DstReg | SrcMem | ModRM, DstReg | SrcMem | ModRM,
Signature · 1 line
1.6.0.4
Avi Kivity
AppliedQuoted 2 lines · Mohammed Gamal
Add missing decoder flags for or instructions (0xc-0xd)
Applied, thanks.
Signature · 1 line
error compiling committee.c: too many arguments to function