]> rtime.felk.cvut.cz Git - l4.git/blob - l4/pkg/l4re-core/uclibc/lib/contrib/uclibc/libc/sysdeps/linux/mips/bits/kernel_sigaction.h
Update
[l4.git] / l4 / pkg / l4re-core / uclibc / lib / contrib / uclibc / libc / sysdeps / linux / mips / bits / kernel_sigaction.h
1 #ifndef _BITS_SIGACTION_STRUCT_H
2 #define _BITS_SIGACTION_STRUCT_H
3
4 /* This is the sigaction structure from the Linux 2.1.24 kernel.  */
5
6 #include <sgidefs.h>
7
8 #define HAVE_SA_RESTORER
9
10 struct old_kernel_sigaction {
11         unsigned int    sa_flags;
12         __sighandler_t  k_sa_handler;
13         unsigned long   sa_mask;
14         unsigned int    __pad0[3]; /* reserved, keep size constant */
15
16         /* Abi says here follows reserved int[2] */
17         void            (*sa_restorer)(void);
18 #if (_MIPS_SZPTR < 64)
19         /*
20          * For 32 bit code we have to pad struct sigaction to get
21          * constant size for the ABI
22          */
23         int             pad1[1]; /* reserved */
24 #endif
25 };
26
27 #endif