aboutsummaryrefslogtreecommitdiffstats
path: root/arch/x86/kvm
diff options
context:
space:
mode:
authorAvi Kivity <avi@redhat.com>2010-08-18 11:53:43 -0400
committerAvi Kivity <avi@redhat.com>2010-10-24 04:51:13 -0400
commit7077aec0bcd2f827aeb84ccc56c6f4367c376436 (patch)
tree1ed8e5bf502d05eab9217812ef90132e776716d4 /arch/x86/kvm
parent5c82aa29988c0160d91f75cceebd0a07d8f2406b (diff)
KVM: x86 emulator: remove SrcImplicit
Useless. Signed-off-by: Avi Kivity <avi@redhat.com>
Diffstat (limited to 'arch/x86/kvm')
-rw-r--r--arch/x86/kvm/emulate.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/arch/x86/kvm/emulate.c b/arch/x86/kvm/emulate.c
index a4d2a469b4ab..7f7fc646678a 100644
--- a/arch/x86/kvm/emulate.c
+++ b/arch/x86/kvm/emulate.c
@@ -58,7 +58,6 @@
58#define DstMask (7<<1) 58#define DstMask (7<<1)
59/* Source operand type. */ 59/* Source operand type. */
60#define SrcNone (0<<4) /* No source operand. */ 60#define SrcNone (0<<4) /* No source operand. */
61#define SrcImplicit (0<<4) /* Source operand is implicit in the opcode. */
62#define SrcReg (1<<4) /* Register operand. */ 61#define SrcReg (1<<4) /* Register operand. */
63#define SrcMem (2<<4) /* Memory operand. */ 62#define SrcMem (2<<4) /* Memory operand. */
64#define SrcMem16 (3<<4) /* Memory operand (16-bit). */ 63#define SrcMem16 (3<<4) /* Memory operand (16-bit). */
@@ -2435,7 +2434,7 @@ static struct opcode opcode_table[256] = {
2435 D(ImplicitOps), D(SrcImmByte), D(ImplicitOps | No64), D(ImplicitOps), 2434 D(ImplicitOps), D(SrcImmByte), D(ImplicitOps | No64), D(ImplicitOps),
2436 /* 0xD0 - 0xD7 */ 2435 /* 0xD0 - 0xD7 */
2437 D(ByteOp | DstMem | SrcOne | ModRM), D(DstMem | SrcOne | ModRM), 2436 D(ByteOp | DstMem | SrcOne | ModRM), D(DstMem | SrcOne | ModRM),
2438 D(ByteOp | DstMem | SrcImplicit | ModRM), D(DstMem | SrcImplicit | ModRM), 2437 D(ByteOp | DstMem | ModRM), D(DstMem | ModRM),
2439 N, N, N, N, 2438 N, N, N, N,
2440 /* 0xD8 - 0xDF */ 2439 /* 0xD8 - 0xDF */
2441 N, N, N, N, N, N, N, N, 2440 N, N, N, N, N, N, N, N,