blob: 963f0494dca78621715d19226f965e013bc41c2a [file] [log] [blame]
Linus Torvalds1da177e2005-04-16 15:20:36 -07001#ifndef _ASMAXP_SIGNAL_H
2#define _ASMAXP_SIGNAL_H
3
David Howells96433f6e2012-12-17 13:47:09 +00004#include <uapi/asm/signal.h>
Linus Torvalds1da177e2005-04-16 15:20:36 -07005
Linus Torvalds1da177e2005-04-16 15:20:36 -07006/* 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
13typedef unsigned long old_sigset_t; /* at least 32 bits */
14
15typedef struct {
16 unsigned long sig[_NSIG_WORDS];
17} sigset_t;
18
Linus Torvalds1da177e2005-04-16 15:20:36 -070019struct osf_sigaction {
20 __sighandler_t sa_handler;
21 old_sigset_t sa_mask;
22 int sa_flags;
23};
24
Al Viro92a3ce42012-11-25 21:20:05 -050025#define __ARCH_HAS_KA_RESTORER
Linus Torvalds1da177e2005-04-16 15:20:36 -070026#include <asm/sigcontext.h>
Linus Torvalds1da177e2005-04-16 15:20:36 -070027#endif