Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 215643
b: refs/heads/master
c: 9f5d322
h: refs/heads/master
i:
  215641: a5e285f
  215639: 28244bd
v: v3
  • Loading branch information
Avi Kivity committed Oct 24, 2010
1 parent a460832 commit 1ed6f10
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 7 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: 2cb20bc8af313b400e5c2c94886e0d87e2ec4e4d
refs/heads/master: 9f5d3220e3047536f702ed67309f6a581c0bed8b
14 changes: 8 additions & 6 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, Group9,
NoGrp,
};

struct opcode {
Expand Down Expand Up @@ -168,14 +168,16 @@ static struct opcode group8[] = {
D(DstMem | SrcImmByte | ModRM | Lock), D(DstMem | SrcImmByte | ModRM | Lock),
};

static struct opcode group_table[] = {
[Group9*8] =
static struct group_dual group9 = { {
N, D(DstMem64 | ModRM | Lock), N, N, N, N, N, N,
}, {
N, N, N, N, N, N, N, N,
} };

static struct opcode group_table[] = {
};

static struct opcode group2_table[] = {
[Group9*8] =
N, N, N, N, N, N, N, N,
};

static struct opcode opcode_table[256] = {
Expand Down Expand Up @@ -344,7 +346,7 @@ static struct opcode twobyte_table[256] = {
D(DstReg | SrcMem16 | ModRM | Mov),
/* 0xC0 - 0xCF */
N, N, N, D(DstMem | SrcReg | ModRM | Mov),
N, N, N, D(Group | GroupDual | Group9),
N, N, N, GD(0, &group9),
N, N, N, N, N, N, N, N,
/* 0xD0 - 0xDF */
N, N, N, N, N, N, N, N, N, N, N, N, N, N, N, N,
Expand Down

0 comments on commit 1ed6f10

Please sign in to comment.