commit | 5ee481da7b62a992b91f958bf26aaaa92354c170 | [log] [tgz] |
---|---|---|
author | Sheng Yang <sheng@linux.intel.com> | Mon May 17 17:22:23 2010 +0800 |
committer | Avi Kivity <avi@redhat.com> | Sun Aug 01 10:35:48 2010 +0300 |
tree | ce62d6a6618d686ee793c5ea9a64e755300144e0 | |
parent | 93736624635235cc5372ffca6d62816d02170724 [diff] [blame] |
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>
diff --git a/arch/x86/include/asm/xsave.h b/arch/x86/include/asm/xsave.h index 2c4390c..29ee4e4 100644 --- a/arch/x86/include/asm/xsave.h +++ b/arch/x86/include/asm/xsave.h
@@ -13,6 +13,9 @@ #define FXSAVE_SIZE 512 +#define XSTATE_YMM_SIZE 256 +#define XSTATE_YMM_OFFSET (512 + 64) + /* * These are the features that the OS can handle currently. */