Back to home page

OSCL-LXR

 
 

    


0001 /* SPDX-License-Identifier: GPL-2.0 */
0002 #ifndef _ASMAXP_SIGNAL_H
0003 #define _ASMAXP_SIGNAL_H
0004 
0005 #include <uapi/asm/signal.h>
0006 
0007 /* Digital Unix defines 64 signals.  Most things should be clean enough
0008    to redefine this at will, if care is taken to make libc match.  */
0009 
0010 #define _NSIG       64
0011 #define _NSIG_BPW   64
0012 #define _NSIG_WORDS (_NSIG / _NSIG_BPW)
0013 
0014 typedef unsigned long old_sigset_t;     /* at least 32 bits */
0015 
0016 typedef struct {
0017     unsigned long sig[_NSIG_WORDS];
0018 } sigset_t;
0019 
0020 struct osf_sigaction {
0021     __sighandler_t  sa_handler;
0022     old_sigset_t    sa_mask;
0023     int     sa_flags;
0024 };
0025 
0026 #define __ARCH_HAS_KA_RESTORER
0027 #include <asm/sigcontext.h>
0028 #endif