Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 93769
b: refs/heads/master
c: 43bb19c
h: refs/heads/master
i:
  93767: e5b6b62
v: v3
  • Loading branch information
Avi Kivity committed Apr 27, 2008
1 parent 59a0669 commit bb93430
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 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: e09d082c03e137015bc0a17ca77e4b9dca08a5d7
refs/heads/master: 43bb19cd3398d3f544d8e2d6ed6c5c5d7b4e5819
8 changes: 7 additions & 1 deletion trunk/arch/x86/kvm/x86_emulate.c
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,10 @@
#define GroupDual (1<<15) /* Alternate decoding of mod == 3 */
#define GroupMask 0xff /* Group number stored in bits 0:7 */

enum {
Group1A,
};

static u16 opcode_table[256] = {
/* 0x00 - 0x07 */
ByteOp | DstMem | SrcReg | ModRM, DstMem | SrcReg | ModRM,
Expand Down Expand Up @@ -133,7 +137,7 @@ static u16 opcode_table[256] = {
/* 0x88 - 0x8F */
ByteOp | DstMem | SrcReg | ModRM | Mov, DstMem | SrcReg | ModRM | Mov,
ByteOp | DstReg | SrcMem | ModRM | Mov, DstReg | SrcMem | ModRM | Mov,
0, ModRM | DstReg, 0, DstMem | SrcNone | ModRM | Mov | Stack,
0, ModRM | DstReg, 0, Group | Group1A,
/* 0x90 - 0x9F */
0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, ImplicitOps | Stack, ImplicitOps | Stack, 0, 0,
Expand Down Expand Up @@ -233,6 +237,8 @@ static u16 twobyte_table[256] = {
};

static u16 group_table[] = {
[Group1A*8] =
DstMem | SrcNone | ModRM | Mov | Stack, 0, 0, 0, 0, 0, 0, 0,
};

static u16 group2_table[] = {
Expand Down

0 comments on commit bb93430

Please sign in to comment.