Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 215639
b: refs/heads/master
c: 591c9d2
h: refs/heads/master
i:
  215637: 6187d16
  215635: b2c222a
  215631: 9a31039
v: v3
  • Loading branch information
Avi Kivity committed Oct 24, 2010
1 parent 1ddd1c7 commit 28244bd
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: ee70ea30ee81dda2cf5fbc2e143ce3cb303187ce
refs/heads/master: 591c9d20a37db54c7234742bff925cb2e6fdca4b
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, Group4, Group5, Group7, Group8, Group9,
NoGrp, Group5, Group7, Group8, Group9,
};

struct opcode {
Expand Down Expand Up @@ -140,10 +140,12 @@ static struct opcode group3[] = {
X4(D(Undefined)),
};

static struct opcode group_table[] = {
[Group4*8] =
static struct opcode group4[] = {
D(ByteOp | DstMem | SrcNone | ModRM | Lock), D(ByteOp | DstMem | SrcNone | ModRM | Lock),
N, N, N, N, N, N,
};

static struct opcode group_table[] = {
[Group5*8] =
D(DstMem | SrcNone | ModRM | Lock), D(DstMem | SrcNone | ModRM | Lock),
D(SrcMem | ModRM | Stack), N,
Expand Down Expand Up @@ -281,7 +283,7 @@ static struct opcode opcode_table[256] = {
D(ImplicitOps | Priv), D(ImplicitOps), G(ByteOp, group3), G(0, group3),
/* 0xF8 - 0xFF */
D(ImplicitOps), N, D(ImplicitOps), D(ImplicitOps),
D(ImplicitOps), D(ImplicitOps), D(Group | Group4), D(Group | Group5),
D(ImplicitOps), D(ImplicitOps), G(0, group4), D(Group | Group5),
};

static struct opcode twobyte_table[256] = {
Expand Down

0 comments on commit 28244bd

Please sign in to comment.