Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 1 | #ifndef _ASMAXP_SIGNAL_H |
| 2 | #define _ASMAXP_SIGNAL_H |
| 3 | |
David Howells | 96433f6e | 2012-12-17 13:47:09 +0000 | [diff] [blame] | 4 | #include <uapi/asm/signal.h> |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 5 | |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 6 | /* Digital Unix defines 64 signals. Most things should be clean enough |
| 7 | to redefine this at will, if care is taken to make libc match. */ |
| 8 | |
| 9 | #define _NSIG 64 |
| 10 | #define _NSIG_BPW 64 |
| 11 | #define _NSIG_WORDS (_NSIG / _NSIG_BPW) |
| 12 | |
| 13 | typedef unsigned long old_sigset_t; /* at least 32 bits */ |
| 14 | |
| 15 | typedef struct { |
| 16 | unsigned long sig[_NSIG_WORDS]; |
| 17 | } sigset_t; |
| 18 | |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 19 | struct osf_sigaction { |
| 20 | __sighandler_t sa_handler; |
| 21 | old_sigset_t sa_mask; |
| 22 | int sa_flags; |
| 23 | }; |
| 24 | |
Al Viro | 92a3ce4 | 2012-11-25 21:20:05 -0500 | [diff] [blame] | 25 | #define __ARCH_HAS_KA_RESTORER |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 26 | #include <asm/sigcontext.h> |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 27 | #endif |