at v3.17 37 lines 817 B view raw
1/* 2 * S390 version 3 * 4 * Derived from "include/asm-i386/ucontext.h" 5 */ 6 7#ifndef _ASM_S390_UCONTEXT_H 8#define _ASM_S390_UCONTEXT_H 9 10#define UC_EXTENDED 0x00000001 11 12#ifndef __s390x__ 13 14struct ucontext_extended { 15 unsigned long uc_flags; 16 struct ucontext *uc_link; 17 stack_t uc_stack; 18 _sigregs uc_mcontext; 19 sigset_t uc_sigmask; 20 /* Allow for uc_sigmask growth. Glibc uses a 1024-bit sigset_t. */ 21 unsigned char __unused[128 - sizeof(sigset_t)]; 22 unsigned long uc_gprs_high[16]; 23}; 24 25#endif 26 27struct ucontext { 28 unsigned long uc_flags; 29 struct ucontext *uc_link; 30 stack_t uc_stack; 31 _sigregs uc_mcontext; 32 sigset_t uc_sigmask; 33 /* Allow for uc_sigmask growth. Glibc uses a 1024-bit sigset_t. */ 34 unsigned char __unused[128 - sizeof(sigset_t)]; 35}; 36 37#endif /* !_ASM_S390_UCONTEXT_H */