From 392e8802486cb573b916e746010e141a75f507e6 Mon Sep 17 00:00:00 2001 From: Kevin Date: Sat, 15 Nov 2014 09:58:27 +0800 Subject: init android origin source code --- ANDROID_3.4.5/arch/s390/include/asm/ucontext.h | 35 ++++++++++++++++++++++++++ 1 file changed, 35 insertions(+) create mode 100644 ANDROID_3.4.5/arch/s390/include/asm/ucontext.h (limited to 'ANDROID_3.4.5/arch/s390/include/asm/ucontext.h') diff --git a/ANDROID_3.4.5/arch/s390/include/asm/ucontext.h b/ANDROID_3.4.5/arch/s390/include/asm/ucontext.h new file mode 100644 index 00000000..cfb874e6 --- /dev/null +++ b/ANDROID_3.4.5/arch/s390/include/asm/ucontext.h @@ -0,0 +1,35 @@ +/* + * include/asm-s390/ucontext.h + * + * S390 version + * + * Derived from "include/asm-i386/ucontext.h" + */ + +#ifndef _ASM_S390_UCONTEXT_H +#define _ASM_S390_UCONTEXT_H + +#define UC_EXTENDED 0x00000001 + +#ifndef __s390x__ + +struct ucontext_extended { + unsigned long uc_flags; + struct ucontext *uc_link; + stack_t uc_stack; + _sigregs uc_mcontext; + unsigned long uc_sigmask[2]; + unsigned long uc_gprs_high[16]; +}; + +#endif + +struct ucontext { + unsigned long uc_flags; + struct ucontext *uc_link; + stack_t uc_stack; + _sigregs uc_mcontext; + sigset_t uc_sigmask; /* mask last for extensibility */ +}; + +#endif /* !_ASM_S390_UCONTEXT_H */ -- cgit