Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 125190
b: refs/heads/master
c: d73fa29
h: refs/heads/master
v: v3
  • Loading branch information
Sheng Yang authored and Avi Kivity committed Dec 31, 2008
1 parent 19a7a1a commit f376f63
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 8 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: 64d4d521757117aa5c1cfe79d3baa6cf57703f81
refs/heads/master: d73fa29a9b75b2af7f69dae276d2c602a23b329b
10 changes: 3 additions & 7 deletions trunk/arch/x86/include/asm/kvm_x86_emulate.h
Original file line number Diff line number Diff line change
Expand Up @@ -146,22 +146,18 @@ struct x86_emulate_ctxt {
/* Register state before/after emulation. */
struct kvm_vcpu *vcpu;

/* Linear faulting address (if emulating a page-faulting instruction) */
unsigned long eflags;

/* Emulated execution mode, represented by an X86EMUL_MODE value. */
int mode;

u32 cs_base;

/* decode cache */

struct decode_cache decode;
};

/* Repeat String Operation Prefix */
#define REPE_PREFIX 1
#define REPNE_PREFIX 2
#define REPE_PREFIX 1
#define REPNE_PREFIX 2

/* Execution mode, passed to the emulator. */
#define X86EMUL_MODE_REAL 0 /* Real mode. */
Expand All @@ -170,7 +166,7 @@ struct x86_emulate_ctxt {
#define X86EMUL_MODE_PROT64 8 /* 64-bit (long) mode. */

/* Host execution mode. */
#if defined(__i386__)
#if defined(CONFIG_X86_32)
#define X86EMUL_MODE_HOST X86EMUL_MODE_PROT32
#elif defined(CONFIG_X86_64)
#define X86EMUL_MODE_HOST X86EMUL_MODE_PROT64
Expand Down

0 comments on commit f376f63

Please sign in to comment.