1 /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
2 #ifndef _ASM_POWERPC_UCONTEXT_H
3 #define _ASM_POWERPC_UCONTEXT_H
6 #include <asm/sigcontext.h>
10 #include <asm/signal.h>
14 elf_gregset_t mc_gregs
;
15 elf_fpregset_t mc_fregs
;
16 unsigned long mc_pad
[2];
17 elf_vrregset_t mc_vregs
__attribute__((__aligned__(16)));
22 unsigned long uc_flags
;
23 struct ucontext __user
*uc_link
;
27 struct mcontext __user
*uc_regs
;/* points to uc_mcontext field */
30 /* glibc has 1024-bit signal masks, ours are 64-bit */
32 sigset_t __unused
[15]; /* Allow for uc_sigmask growth */
33 struct sigcontext uc_mcontext
; /* last for extensibility */
37 struct mcontext uc_mcontext
;
41 #endif /* _ASM_POWERPC_UCONTEXT_H */