2005-04-16 22:20:36 +00:00
|
|
|
/*
|
|
|
|
* S390 version
|
|
|
|
*
|
|
|
|
* Derived from "include/asm-i386/ucontext.h"
|
|
|
|
*/
|
|
|
|
|
|
|
|
#ifndef _ASM_S390_UCONTEXT_H
|
|
|
|
#define _ASM_S390_UCONTEXT_H
|
|
|
|
|
2009-10-06 08:34:13 +00:00
|
|
|
#define UC_EXTENDED 0x00000001
|
|
|
|
|
|
|
|
#ifndef __s390x__
|
|
|
|
|
|
|
|
struct ucontext_extended {
|
|
|
|
unsigned long uc_flags;
|
|
|
|
struct ucontext *uc_link;
|
|
|
|
stack_t uc_stack;
|
|
|
|
_sigregs uc_mcontext;
|
2014-06-11 14:06:12 +00:00
|
|
|
sigset_t uc_sigmask;
|
|
|
|
/* Allow for uc_sigmask growth. Glibc uses a 1024-bit sigset_t. */
|
|
|
|
unsigned char __unused[128 - sizeof(sigset_t)];
|
2009-10-06 08:34:13 +00:00
|
|
|
unsigned long uc_gprs_high[16];
|
|
|
|
};
|
|
|
|
|
|
|
|
#endif
|
|
|
|
|
2005-04-16 22:20:36 +00:00
|
|
|
struct ucontext {
|
|
|
|
unsigned long uc_flags;
|
|
|
|
struct ucontext *uc_link;
|
|
|
|
stack_t uc_stack;
|
|
|
|
_sigregs uc_mcontext;
|
2014-06-11 14:06:12 +00:00
|
|
|
sigset_t uc_sigmask;
|
|
|
|
/* Allow for uc_sigmask growth. Glibc uses a 1024-bit sigset_t. */
|
|
|
|
unsigned char __unused[128 - sizeof(sigset_t)];
|
2005-04-16 22:20:36 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
#endif /* !_ASM_S390_UCONTEXT_H */
|