aboutsummaryrefslogtreecommitdiffstats
path: root/xen/include/asm-x86/paging.h
diff options
context:
space:
mode:
authorKeir Fraser <keir.fraser@citrix.com>2008-04-22 14:34:16 +0100
committerKeir Fraser <keir.fraser@citrix.com>2008-04-22 14:34:16 +0100
commitdfff66aee9bb5d62eddeaa5fb030852781399689 (patch)
treeec3ca75558fdf2af8950072d747fa7059bf1a1a2 /xen/include/asm-x86/paging.h
parenta8add4da193a45f0486cbe01f0ab2a48938d9d7a (diff)
downloadxen-dfff66aee9bb5d62eddeaa5fb030852781399689.tar.gz
xen-dfff66aee9bb5d62eddeaa5fb030852781399689.tar.bz2
xen-dfff66aee9bb5d62eddeaa5fb030852781399689.zip
x86_emulate: Support CMPXCHG16B.
Also clean up cmpxchg() callback handling so we can get rid of teh specific cmpxchg8b handler. Signed-off-by: Jan Beulich <jbeulich@novell.com> Signed-off-by: Keir Fraser <keir.fraser@citrix.com>
Diffstat (limited to 'xen/include/asm-x86/paging.h')
-rw-r--r--xen/include/asm-x86/paging.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/xen/include/asm-x86/paging.h b/xen/include/asm-x86/paging.h
index f7512a7b26..d3970f1f82 100644
--- a/xen/include/asm-x86/paging.h
+++ b/xen/include/asm-x86/paging.h
@@ -83,12 +83,14 @@ struct shadow_paging_mode {
unsigned long new,
unsigned int bytes,
struct sh_emulate_ctxt *sh_ctxt);
+#ifdef __i386__
int (*x86_emulate_cmpxchg8b )(struct vcpu *v, unsigned long va,
unsigned long old_lo,
unsigned long old_hi,
unsigned long new_lo,
unsigned long new_hi,
struct sh_emulate_ctxt *sh_ctxt);
+#endif
mfn_t (*make_monitor_table )(struct vcpu *v);
void (*destroy_monitor_table )(struct vcpu *v, mfn_t mmfn);
int (*guess_wrmap )(struct vcpu *v,