aboutsummaryrefslogtreecommitdiffstats
path: root/xen/include/asm-x86/hvm/emulate.h
diff options
context:
space:
mode:
authorKeir Fraser <keir.fraser@citrix.com>2008-02-22 18:32:41 +0000
committerKeir Fraser <keir.fraser@citrix.com>2008-02-22 18:32:41 +0000
commit2ea2f369eb3aae4a9bfaa86ce51c31a5258ee20f (patch)
tree6a872eaf316eb132693dcefac373fd7a9fd668b4 /xen/include/asm-x86/hvm/emulate.h
parent15adfd0426ab8db33c0a26022b8440b836cc1cd4 (diff)
downloadxen-2ea2f369eb3aae4a9bfaa86ce51c31a5258ee20f.tar.gz
xen-2ea2f369eb3aae4a9bfaa86ce51c31a5258ee20f.tar.bz2
xen-2ea2f369eb3aae4a9bfaa86ce51c31a5258ee20f.zip
hvm: More emulation changes: push some of the realmode or HVM-emulate
specific stuff into core x86_emulate(). Signed-off-by: Keir Fraser <keir.fraser@citrix.com>
Diffstat (limited to 'xen/include/asm-x86/hvm/emulate.h')
-rw-r--r--xen/include/asm-x86/hvm/emulate.h14
1 files changed, 4 insertions, 10 deletions
diff --git a/xen/include/asm-x86/hvm/emulate.h b/xen/include/asm-x86/hvm/emulate.h
index f059bcdedf..c46ffb0706 100644
--- a/xen/include/asm-x86/hvm/emulate.h
+++ b/xen/include/asm-x86/hvm/emulate.h
@@ -27,18 +27,12 @@ struct hvm_emulate_ctxt {
unsigned long seg_reg_accessed;
unsigned long seg_reg_dirty;
- union {
- struct {
- unsigned int hlt:1;
- unsigned int mov_ss:1;
- unsigned int sti:1;
- unsigned int exn_pending:1;
- } flags;
- unsigned int flag_word;
- };
-
+ bool_t exn_pending;
uint8_t exn_vector;
uint8_t exn_insn_len;
+ int32_t exn_error_code;
+
+ uint32_t intr_shadow;
};
int hvm_emulate_one(