]> git.karo-electronics.de Git - mv-sheeva.git/commitdiff
KVM: x86 emulator: move ByteOp and Dst back to bits 0:3
authorAvi Kivity <avi@redhat.com>
Thu, 29 Jul 2010 12:11:49 +0000 (15:11 +0300)
committerAvi Kivity <avi@redhat.com>
Sun, 24 Oct 2010 08:50:20 +0000 (10:50 +0200)
Now that the group index no longer exists, the space is free.

Signed-off-by: Avi Kivity <avi@redhat.com>
Signed-off-by: Marcelo Tosatti <mtosatti@redhat.com>
arch/x86/kvm/emulate.c

index 20a7a167df1d319f3cf4f0e39f779af5d0859380..d7e3ea4797f1f9bf5c2f74aa20585f7c4e5666ab 100644 (file)
  */
 
 /* Operand sizes: 8-bit operands or specified/overridden size. */
-#define ByteOp      (1<<16)    /* 8-bit operands. */
+#define ByteOp      (1<<0)     /* 8-bit operands. */
 /* Destination operand type. */
-#define ImplicitOps (1<<17)    /* Implicit in opcode. No generic decode. */
-#define DstReg      (2<<17)    /* Register operand. */
-#define DstMem      (3<<17)    /* Memory operand. */
-#define DstAcc      (4<<17)    /* Destination Accumulator */
-#define DstDI       (5<<17)    /* Destination is in ES:(E)DI */
-#define DstMem64    (6<<17)    /* 64bit memory operand */
-#define DstMask     (7<<17)
+#define ImplicitOps (1<<1    /* Implicit in opcode. No generic decode. */
+#define DstReg      (2<<1    /* Register operand. */
+#define DstMem      (3<<1    /* Memory operand. */
+#define DstAcc      (4<<1    /* Destination Accumulator */
+#define DstDI       (5<<1    /* Destination is in ES:(E)DI */
+#define DstMem64    (6<<1    /* 64bit memory operand */
+#define DstMask     (7<<1)
 /* Source operand type. */
 #define SrcNone     (0<<4)     /* No source operand. */
 #define SrcImplicit (0<<4)     /* Source operand is implicit in the opcode. */