aboutsummaryrefslogtreecommitdiffstats
path: root/xen/include/asm-x86/i387.h
diff options
context:
space:
mode:
authorWei Huang <wei.huang2@amd.com>2011-05-09 11:37:36 +0100
committerWei Huang <wei.huang2@amd.com>2011-05-09 11:37:36 +0100
commitfb48379fc38ea90ccf58b126c8817baa17eea661 (patch)
tree2a9827a0ee0f252ffd6e7d13d0dee0cb7ace9984 /xen/include/asm-x86/i387.h
parente39609c4502b7abab4133f77587084047a6c3e79 (diff)
downloadxen-fb48379fc38ea90ccf58b126c8817baa17eea661.tar.gz
xen-fb48379fc38ea90ccf58b126c8817baa17eea661.tar.bz2
xen-fb48379fc38ea90ccf58b126c8817baa17eea661.zip
x86/fpu: create FPU init and destroy functions
Extract FPU initialization and destroy code into two functions. These functions handle memory allocation/deallocation for FPU context. Signed-off-by: Wei Huang <wei.huang2@amd.com>
Diffstat (limited to 'xen/include/asm-x86/i387.h')
-rw-r--r--xen/include/asm-x86/i387.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/xen/include/asm-x86/i387.h b/xen/include/asm-x86/i387.h
index f94cdad6f6..f2bd78d680 100644
--- a/xen/include/asm-x86/i387.h
+++ b/xen/include/asm-x86/i387.h
@@ -17,4 +17,6 @@
void setup_fpu(struct vcpu *v);
void save_init_fpu(struct vcpu *v);
+int vcpu_init_fpu(struct vcpu *v);
+void vcpu_destroy_fpu(struct vcpu *v);
#endif /* __ASM_I386_I387_H */