Blame view
arch/x86/include/asm/sigcontext32.h
1.64 KB
1965aae3c x86: Fix ASM_X86_... |
1 2 |
#ifndef _ASM_X86_SIGCONTEXT32_H #define _ASM_X86_SIGCONTEXT32_H |
1da177e4c Linux-2.6.12-rc2 |
3 |
|
2de548faa headers_check fix... |
4 |
#include <linux/types.h> |
1da177e4c Linux-2.6.12-rc2 |
5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 |
/* signal context for 32bit programs. */ #define X86_FXSR_MAGIC 0x0000 struct _fpreg { unsigned short significand[4]; unsigned short exponent; }; struct _fpxreg { unsigned short significand[4]; unsigned short exponent; unsigned short padding[3]; }; struct _xmmreg { __u32 element[4]; }; /* FSAVE frame with extensions */ struct _fpstate_ia32 { /* Regular FPU environment */ __u32 cw; __u32 sw; __u32 tag; /* not compatible to 64bit twd */ |
895b7643d include/asm-x86/s... |
30 |
__u32 ipoff; |
1da177e4c Linux-2.6.12-rc2 |
31 32 33 34 35 36 37 38 39 40 41 42 |
__u32 cssel; __u32 dataoff; __u32 datasel; struct _fpreg _st[8]; unsigned short status; unsigned short magic; /* 0xffff = regular FPU data only */ /* FXSR FPU environment */ __u32 _fxsr_env[6]; __u32 mxcsr; __u32 reserved; struct _fpxreg _fxsr_st[8]; |
895b7643d include/asm-x86/s... |
43 |
struct _xmmreg _xmm[8]; /* It's actually 16 */ |
bdd8caba5 x86, xsave: struc... |
44 45 46 47 48 |
__u32 padding[44]; union { __u32 padding2[12]; struct _fpx_sw_bytes sw_reserved; }; |
1da177e4c Linux-2.6.12-rc2 |
49 50 51 52 53 54 55 |
}; struct sigcontext_ia32 { unsigned short gs, __gsh; unsigned short fs, __fsh; unsigned short es, __esh; unsigned short ds, __dsh; |
742fa54a6 x86: use generic ... |
56 57 58 59 60 61 62 63 |
unsigned int di; unsigned int si; unsigned int bp; unsigned int sp; unsigned int bx; unsigned int dx; unsigned int cx; unsigned int ax; |
1da177e4c Linux-2.6.12-rc2 |
64 65 |
unsigned int trapno; unsigned int err; |
742fa54a6 x86: use generic ... |
66 |
unsigned int ip; |
1da177e4c Linux-2.6.12-rc2 |
67 |
unsigned short cs, __csh; |
742fa54a6 x86: use generic ... |
68 69 |
unsigned int flags; unsigned int sp_at_signal; |
1da177e4c Linux-2.6.12-rc2 |
70 71 72 73 74 |
unsigned short ss, __ssh; unsigned int fpstate; /* really (struct _fpstate_ia32 *) */ unsigned int oldmask; unsigned int cr2; }; |
1965aae3c x86: Fix ASM_X86_... |
75 |
#endif /* _ASM_X86_SIGCONTEXT32_H */ |