1#include <stddef.h>
2#include <signal.h>
3#include <sys/ucontext.h>
4
5--
6
7SIG_BLOCK
8SIG_SETMASK
9
10-- Offsets in ucontext_t.
11#define ucontext(member)	offsetof (ucontext_t, member)
12_UC_LINK		ucontext (uc_link)
13_UC_STACK_SP		ucontext (uc_stack.ss_sp)
14_UC_STACK_SIZE		ucontext (uc_stack.ss_size)
15_UC_REGS_PTR		ucontext (uc_mcontext.uc_regs)
16_UC_SIGMASK		ucontext (uc_sigmask)
17_UC_REG_SPACE		ucontext (uc_reg_space)
18
19-- Offsets in mcontext_t.
20#define mcontext(member)	offsetof (mcontext_t, member)
21_UC_GREGS		mcontext (gregs)
22_UC_FREGS		mcontext (fpregs)
23_UC_VREGS		mcontext (vrregs)
24_UC_VREGS		mcontext (vrregs)
25_UC_VSCR		mcontext (vrregs.vscr)
26_UC_VRSAVE		mcontext (vrregs.vrsave)
27