Path: blob/master/arch/s390/include/uapi/asm/ucontext.h
26481 views
/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */1/*2* S390 version3*4* Derived from "include/asm-i386/ucontext.h"5*/67#ifndef _ASM_S390_UCONTEXT_H8#define _ASM_S390_UCONTEXT_H910#define UC_GPRS_HIGH 1 /* uc_mcontext_ext has valid high gprs */11#define UC_VXRS 2 /* uc_mcontext_ext has valid vector regs */1213/*14* The struct ucontext_extended describes how the registers are stored15* on a rt signal frame. Please note that the structure is not fixed,16* if new CPU registers are added to the user state the size of the17* struct ucontext_extended will increase.18*/19struct ucontext_extended {20unsigned long uc_flags;21struct ucontext *uc_link;22stack_t uc_stack;23_sigregs uc_mcontext;24sigset_t uc_sigmask;25/* Allow for uc_sigmask growth. Glibc uses a 1024-bit sigset_t. */26unsigned char __unused[128 - sizeof(sigset_t)];27_sigregs_ext uc_mcontext_ext;28};2930struct ucontext {31unsigned long uc_flags;32struct ucontext *uc_link;33stack_t uc_stack;34_sigregs uc_mcontext;35sigset_t uc_sigmask;36/* Allow for uc_sigmask growth. Glibc uses a 1024-bit sigset_t. */37unsigned char __unused[128 - sizeof(sigset_t)];38};3940#endif /* !_ASM_S390_UCONTEXT_H */414243