aboutsummaryrefslogtreecommitdiffstats
path: root/arch/x86/include/asm/xsave.h
diff options
context:
space:
mode:
authorSheng Yang <sheng@linux.intel.com>2010-05-17 05:22:23 -0400
committerAvi Kivity <avi@redhat.com>2010-08-01 03:35:48 -0400
commit5ee481da7b62a992b91f958bf26aaaa92354c170 (patch)
treece62d6a6618d686ee793c5ea9a64e755300144e0 /arch/x86/include/asm/xsave.h
parent93736624635235cc5372ffca6d62816d02170724 (diff)
x86: Export FPU API for KVM use
Also add some constants. Signed-off-by: Sheng Yang <sheng@linux.intel.com> Signed-off-by: Avi Kivity <avi@redhat.com>
Diffstat (limited to 'arch/x86/include/asm/xsave.h')
-rw-r--r--arch/x86/include/asm/xsave.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/arch/x86/include/asm/xsave.h b/arch/x86/include/asm/xsave.h
index 2c4390cae228..29ee4e4c64cf 100644
--- a/arch/x86/include/asm/xsave.h
+++ b/arch/x86/include/asm/xsave.h
@@ -13,6 +13,9 @@
13 13
14#define FXSAVE_SIZE 512 14#define FXSAVE_SIZE 512
15 15
16#define XSTATE_YMM_SIZE 256
17#define XSTATE_YMM_OFFSET (512 + 64)
18
16/* 19/*
17 * These are the features that the OS can handle currently. 20 * These are the features that the OS can handle currently.
18 */ 21 */