| * include/asm-s390/sigcontext.h |
| * Copyright (C) 1999,2000 IBM Deutschland Entwicklung GmbH, IBM Corporation |
| #ifndef _ASM_S390_SIGCONTEXT_H |
| #define _ASM_S390_SIGCONTEXT_H |
| #include <linux/compiler.h> |
| /* Has to be at least _NSIG_WORDS from asm/signal.h */ |
| #define _SIGCONTEXT_NSIG 64 |
| #define _SIGCONTEXT_NSIG_BPW 32 |
| /* Size of stack frame allocated when calling signal handler. */ |
| #define __SIGNAL_FRAMESIZE 96 |
| /* Has to be at least _NSIG_WORDS from asm/signal.h */ |
| #define _SIGCONTEXT_NSIG 64 |
| #define _SIGCONTEXT_NSIG_BPW 64 |
| /* Size of stack frame allocated when calling signal handler. */ |
| #define __SIGNAL_FRAMESIZE 160 |
| #define _SIGCONTEXT_NSIG_WORDS (_SIGCONTEXT_NSIG / _SIGCONTEXT_NSIG_BPW) |
| #define _SIGMASK_COPY_SIZE (sizeof(unsigned long)*_SIGCONTEXT_NSIG_WORDS) |
| } __attribute__ ((aligned(8))) _psw_t; |
| unsigned long gprs[__NUM_GPRS]; |
| unsigned int acrs[__NUM_ACRS]; |
| unsigned long oldmask[_SIGCONTEXT_NSIG_WORDS]; |