Back to home page

OSCL-LXR

 
 

    


0001 /* SPDX-License-Identifier: GPL-2.0 */
0002 #ifndef _ASMARM_SIGNAL_H
0003 #define _ASMARM_SIGNAL_H
0004 
0005 #include <uapi/asm/signal.h>
0006 
0007 /* Most things should be clean enough to redefine this at will, if care
0008    is taken to make libc match.  */
0009 
0010 #define _NSIG       64
0011 #define _NSIG_BPW   32
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 #define __ARCH_UAPI_SA_FLAGS    (SA_THIRTYTWO | SA_RESTORER)
0021 
0022 #define __ARCH_HAS_SA_RESTORER
0023 
0024 #include <asm/sigcontext.h>
0025 #endif