#if defined(_GNU_SOURCE) || defined(_BSD_SOURCE)
-struct sigcontext
-{
- unsigned long _unused[4];
- int signal;
- unsigned long handler;
- unsigned long oldmask;
- void *regs;
- gregset_t gp_regs;
- fpregset_t fp_regs;
- vrregset_t *v_regs;
- long vmx_reserve[33+33+32+1]; /* 33=34 for ppc64 */
-};
-
typedef unsigned long gregset_t[48];
typedef struct {
unsigned vscr;
} vrregset_t;
+struct sigcontext
+{
+ unsigned long _unused[4];
+ int signal;
+ unsigned long handler;
+ unsigned long oldmask;
+ void *regs;
+};
+
typedef struct {
gregset_t gregs;
fpregset_t fpregs;
stack_t uc_stack;
int uc_pad[7];
mcontext_t *uc_regs;
-
sigset_t uc_sigmask;
-
- int uc_maskext[30];
int uc_pad2[3];
-
mcontext_t uc_mcontext;
- char uc_reg_space[sizeof(mcontext_t) + 12];
} ucontext_t;
#define SA_NOCLDSTOP 1U