3 #include <sys/ucontext.h>
9 #define ucontext(member) offsetof (ucontext_t, member)
10 #define mcontext(member) ucontext (uc_mcontext.member)
12 oLINK ucontext (uc_link)
13 oSS_SP ucontext (uc_stack.ss_sp)
14 oSS_SIZE ucontext (uc_stack.ss_size)
15 oGREGS mcontext (gregs)
16 oSP mcontext (gregs[R_SP])
17 oPC mcontext (gregs[R_PC])
18 oFPREGS mcontext (fpregs)
19 oFP2 mcontext (fpregs.f_fpregs[2])
20 oSIGMASK ucontext (uc_sigmask)