aboutsummaryrefslogtreecommitdiffstats
path: root/xen/include/asm-x86/hvm/vcpu.h
diff options
context:
space:
mode:
authorKeir Fraser <keir.fraser@citrix.com>2008-04-16 16:10:41 +0100
committerKeir Fraser <keir.fraser@citrix.com>2008-04-16 16:10:41 +0100
commita6836b4fdd40e84ef453a23fc298486049d26ef7 (patch)
tree7dc43533c1fffaefc55e4de38e3c3264d0f02037 /xen/include/asm-x86/hvm/vcpu.h
parent8415719513ba048939d0ded7565cd9cba7c306c4 (diff)
downloadxen-a6836b4fdd40e84ef453a23fc298486049d26ef7.tar.gz
xen-a6836b4fdd40e84ef453a23fc298486049d26ef7.tar.bz2
xen-a6836b4fdd40e84ef453a23fc298486049d26ef7.zip
x86_emulate: Implement a more dynamic interface for handling FPU
exceptions, which will allow emulation stubs to be built dynamically in a future patch. Signed-off-by: Keir Fraser <keir.fraser@citrix.com>
Diffstat (limited to 'xen/include/asm-x86/hvm/vcpu.h')
-rw-r--r--xen/include/asm-x86/hvm/vcpu.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/xen/include/asm-x86/hvm/vcpu.h b/xen/include/asm-x86/hvm/vcpu.h
index c4592d9c1e..6ff8de5fc4 100644
--- a/xen/include/asm-x86/hvm/vcpu.h
+++ b/xen/include/asm-x86/hvm/vcpu.h
@@ -83,6 +83,9 @@ struct hvm_vcpu {
*/
unsigned long mmio_gva;
unsigned long mmio_gpfn;
+
+ void (*fpu_exception_callback)(void *, struct cpu_user_regs *);
+ void *fpu_exception_callback_arg;
};
#endif /* __ASM_X86_HVM_VCPU_H__ */