aboutsummaryrefslogtreecommitdiffstats
path: root/include/asm-x86/processor.h
diff options
context:
space:
mode:
authorSuresh Siddha <suresh.b.siddha@intel.com>2008-07-29 13:29:24 -0400
committerIngo Molnar <mingo@elte.hu>2008-07-30 13:49:27 -0400
commitbdd8caba5ed5bb7ee21c9f061597284ffeb280bf (patch)
tree036491dc4b283979f462008bc961800847187937 /include/asm-x86/processor.h
parent9dc89c0f96a6ce6a1b7f9a47dd8bf6f17e2002c9 (diff)
x86, xsave: struct _fpstate extensions to include extended state information
Bytes 464..511 in the current 512byte layout of fxsave/fxrstor frame, are reserved for SW usage. On cpu's supporting xsave/xrstor, these bytes are used to extended the fpstate pointer in the sigcontext, which now includes the extended state information along with fpstate information. Signed-off-by: Suresh Siddha <suresh.b.siddha@intel.com> Signed-off-by: H. Peter Anvin <hpa@zytor.com> Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'include/asm-x86/processor.h')
-rw-r--r--include/asm-x86/processor.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/include/asm-x86/processor.h b/include/asm-x86/processor.h
index 77b7af6b573b..eb4bd8c07730 100644
--- a/include/asm-x86/processor.h
+++ b/include/asm-x86/processor.h
@@ -322,7 +322,12 @@ struct i387_fxsave_struct {
322 /* 16*16 bytes for each XMM-reg = 256 bytes: */ 322 /* 16*16 bytes for each XMM-reg = 256 bytes: */
323 u32 xmm_space[64]; 323 u32 xmm_space[64];
324 324
325 u32 padding[24]; 325 u32 padding[12];
326
327 union {
328 u32 padding1[12];
329 u32 sw_reserved[12];
330 };
326 331
327} __attribute__((aligned(16))); 332} __attribute__((aligned(16)));
328 333