Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 215637
b: refs/heads/master
c: 99880c5
h: refs/heads/master
i:
  215635: b2c222a
v: v3
  • Loading branch information
Avi Kivity committed Oct 24, 2010
1 parent 49be1e4 commit 6187d16
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 5 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: 5b92b5faff8ec66c75f3716ae7c4bf1e2b99d7e6
refs/heads/master: 99880c5cd54b28a26fd6ed949f545cc0075e4393
10 changes: 6 additions & 4 deletions trunk/arch/x86/kvm/emulate.c
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@
#define X16(x) X8(x), X8(x)

enum {
NoGrp, Group1A, Group3, Group4, Group5, Group7, Group8, Group9,
NoGrp, Group3, Group4, Group5, Group7, Group8, Group9,
};

struct opcode {
Expand All @@ -130,9 +130,11 @@ static struct opcode group1[] = {
X7(D(Lock)), N
};

static struct opcode group_table[] = {
[Group1A*8] =
static struct opcode group1A[] = {
D(DstMem | SrcNone | ModRM | Mov | Stack), N, N, N, N, N, N, N,
};

static struct opcode group_table[] = {
[Group3*8] =
D(DstMem | SrcImm | ModRM), D(DstMem | SrcImm | ModRM),
D(DstMem | SrcNone | ModRM | Lock), D(DstMem | SrcNone | ModRM | Lock),
Expand Down Expand Up @@ -231,7 +233,7 @@ static struct opcode opcode_table[256] = {
D(ByteOp | DstMem | SrcReg | ModRM | Mov), D(DstMem | SrcReg | ModRM | Mov),
D(ByteOp | DstReg | SrcMem | ModRM | Mov), D(DstReg | SrcMem | ModRM | Mov),
D(DstMem | SrcNone | ModRM | Mov), D(ModRM | DstReg),
D(ImplicitOps | SrcMem16 | ModRM), D(Group | Group1A),
D(ImplicitOps | SrcMem16 | ModRM), G(0, group1A),
/* 0x90 - 0x97 */
D(DstReg), D(DstReg), D(DstReg), D(DstReg), D(DstReg), D(DstReg), D(DstReg), D(DstReg),
/* 0x98 - 0x9F */
Expand Down

0 comments on commit 6187d16

Please sign in to comment.