Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 215619
b: refs/heads/master
c: 2ce4953
h: refs/heads/master
i:
  215617: 8a413cb
  215615: 2d15f91
v: v3
  • Loading branch information
Avi Kivity committed Oct 24, 2010
1 parent d4e7f9f commit d4ff300
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 10 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 880a1883785d37287e13e4faf3fe92b294404de0
refs/heads/master: 2ce495365f6cdd5792c4db0ddb8ac8544950b671
18 changes: 9 additions & 9 deletions trunk/arch/x86/kvm/emulate.c
Original file line number Diff line number Diff line change
Expand Up @@ -46,15 +46,15 @@
*/

/* Operand sizes: 8-bit operands or specified/overridden size. */
#define ByteOp (1<<0) /* 8-bit operands. */
#define ByteOp (1<<16) /* 8-bit operands. */
/* Destination operand type. */
#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)
#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)
/* Source operand type. */
#define SrcNone (0<<4) /* No source operand. */
#define SrcImplicit (0<<4) /* Source operand is implicit in the opcode. */
Expand Down Expand Up @@ -82,7 +82,7 @@
#define Stack (1<<13) /* Stack instruction (push/pop) */
#define Group (1<<14) /* Bits 3:5 of modrm byte extend opcode */
#define GroupDual (1<<15) /* Alternate decoding of mod == 3 */
#define GroupMask 0xff /* Group number stored in bits 0:7 */
#define GroupMask 0x0f /* Group number stored in bits 0:3 */
/* Misc flags */
#define Lock (1<<26) /* lock prefix is allowed for the instruction */
#define Priv (1<<27) /* instruction generates #GP if current CPL != 0 */
Expand Down

0 comments on commit d4ff300

Please sign in to comment.