aboutsummaryrefslogtreecommitdiffstats
path: root/xen/include/asm-x86/x86_emulate.h
diff options
context:
space:
mode:
authorkfraser@localhost.localdomain <kfraser@localhost.localdomain>2007-01-05 10:55:55 +0000
committerkfraser@localhost.localdomain <kfraser@localhost.localdomain>2007-01-05 10:55:55 +0000
commit7a0e89cd5b7abbe1aa1b700cf9a46d468b46896e (patch)
treec27522b3e88aff132159ac240e3c810696ad9556 /xen/include/asm-x86/x86_emulate.h
parent4bf9e7a7d00799df80c0e301aef12c7d7120a806 (diff)
downloadxen-7a0e89cd5b7abbe1aa1b700cf9a46d468b46896e.tar.gz
xen-7a0e89cd5b7abbe1aa1b700cf9a46d468b46896e.tar.bz2
xen-7a0e89cd5b7abbe1aa1b700cf9a46d468b46896e.zip
[XEN] Add LEA to the Xen x86 emulator. Rename x86_emulate_memop() to
x86_emulate(), as the emulator now does more than emulation of 'special' memory accesses. Signed-off-by: Keir Fraser <keir@xensource.com>
Diffstat (limited to 'xen/include/asm-x86/x86_emulate.h')
-rw-r--r--xen/include/asm-x86/x86_emulate.h5
1 files changed, 2 insertions, 3 deletions
diff --git a/xen/include/asm-x86/x86_emulate.h b/xen/include/asm-x86/x86_emulate.h
index 89a42da7b0..6e234cb22b 100644
--- a/xen/include/asm-x86/x86_emulate.h
+++ b/xen/include/asm-x86/x86_emulate.h
@@ -154,12 +154,11 @@ struct x86_emulate_ctxt
#endif
/*
- * x86_emulate_memop: Emulate an instruction that faulted attempting to
- * read/write a 'special' memory area.
+ * x86_emulate: Emulate an instruction.
* Returns -1 on failure, 0 on success.
*/
int
-x86_emulate_memop(
+x86_emulate(
struct x86_emulate_ctxt *ctxt,
struct x86_emulate_ops *ops);