1 /*
2 * include/asm-s390/sigcontext.h
3 *
4 * S390 version
5 * Copyright (C) 1999 IBM Deutschland Entwicklung GmbH, IBM Corporation
6 */
7
8 #ifndef _ASM_S390_SIGCONTEXT_H
9 #define _ASM_S390_SIGCONTEXT_H
10 #include <asm/s390-regs-common.h>
11
12 /*
13 Has to be at least _NSIG_WORDS from asm/signal.h
14 */
15 #define _SIGCONTEXT_NSIG 64
16 #define _SIGCONTEXT_NSIG_BPW 32
17 /* Size of stack frame allocated when calling signal handler. */
18 #define __SIGNAL_FRAMESIZE STACK_FRAME_OVERHEAD
19 #define _SIGCONTEXT_NSIG_WORDS (_SIGCONTEXT_NSIG / _SIGCONTEXT_NSIG_BPW)
20 #define SIGMASK_COPY_SIZE (sizeof(unsigned long)*_SIGCONTEXT_NSIG_WORDS)
21
22 typedef struct
23 {
24 s390_regs_common regs;
25 s390_fp_regs fpregs;
26 } sigregs;
27
28 struct sigcontext
29 {
30 unsigned long oldmask[_SIGCONTEXT_NSIG_WORDS];
31 sigregs *sregs;
32 };
33
34
35 #endif
36
37
This page was automatically generated by the
LXR engine.
Visit the LXR main site for more
information.