1 #ifndef _ASM_X86_SIGCONTEXT_H
2 #define _ASM_X86_SIGCONTEXT_H
4 #include <uapi/asm/sigcontext.h>
8 unsigned short gs, __gsh;
9 unsigned short fs, __fsh;
10 unsigned short es, __esh;
11 unsigned short ds, __dsh;
23 unsigned short cs, __csh;
25 unsigned long sp_at_signal;
26 unsigned short ss, __ssh;
29 * fpstate is really (struct _fpstate *) or (struct _xstate *)
30 * depending on the FP_XSTATE_MAGIC1 encoded in the SW reserved
31 * bytes of (struct _fpstate) and FP_XSTATE_MAGIC2 present at the end
32 * of extended memory layout. See comments at the definition of
33 * (struct _fpx_sw_bytes)
35 void __user *fpstate; /* zero when no FPU/extended context */
36 unsigned long oldmask;
62 unsigned short __pad0;
65 unsigned long oldmask;
69 * fpstate is really (struct _fpstate *) or (struct _xstate *)
70 * depending on the FP_XSTATE_MAGIC1 encoded in the SW reserved
71 * bytes of (struct _fpstate) and FP_XSTATE_MAGIC2 present at the end
72 * of extended memory layout. See comments at the definition of
73 * (struct _fpx_sw_bytes)
75 void __user *fpstate; /* zero when no FPU/extended context */
76 unsigned long reserved1[8];
78 #endif /* !__i386__ */
79 #endif /* _ASM_X86_SIGCONTEXT_H */