3 #include <sys/ucontext.h>
11 -- Offsets of the fields in the powerpc64 ABI stack frame.
12 -- XXX Do these correspond to some struct?
32 -- Offsets of the fields in the ucontext_t structure.
33 #define ucontext(member) offsetof (ucontext_t, member)
34 #define mcontext(member) ucontext (uc_mcontext.member)
36 UCONTEXT_LINK ucontext (uc_link)
37 UCONTEXT_STACK ucontext (uc_stack)
38 UCONTEXT_STACK_SP ucontext (uc_stack.ss_sp)
39 UCONTEXT_STACK_FLAGS ucontext (uc_stack.ss_flags)
40 UCONTEXT_STACK_SIZE ucontext (uc_stack.ss_size)
41 UCONTEXT_SIGMASK ucontext (uc_sigmask)
42 UCONTEXT_MCONTEXT ucontext (uc_mcontext)
43 SIGCONTEXT_SIGNAL mcontext (signal)
44 SIGCONTEXT_HANDLER mcontext (handler)
45 SIGCONTEXT_OLDMASK mcontext (oldmask)
46 SIGCONTEXT_PT_REGS mcontext (regs)
47 SIGCONTEXT_GP_REGS mcontext (gp_regs)
48 SIGCONTEXT_FP_REGS mcontext (fp_regs)
49 SIGCONTEXT_V_REGS_PTR mcontext (v_regs)
50 SIGCONTEXT_V_RESERVE mcontext (vmx_reserve)