2.9
[glibc/nacl-glibc.git] / sysdeps / unix / sysv / linux / i386 / ucontext_i.sym
blobb11a5509cd469b320b4c92bdcb429b6e2470c756
1 #include <stddef.h>
2 #include <signal.h>
3 #include <sys/ucontext.h>
5 --
7 SIG_BLOCK
8 SIG_SETMASK
10 #define ucontext(member)        offsetof (ucontext_t, member)
11 #define mcontext(member)        ucontext (uc_mcontext.member)
12 #define mreg(reg)               mcontext (gregs[REG_##reg])
14 oLINK           ucontext (uc_link)
15 oSS_SP          ucontext (uc_stack.ss_sp)
16 oSS_SIZE        ucontext (uc_stack.ss_size)
17 oGS             mreg (GS)
18 oFS             mreg (FS)
19 oEDI            mreg (EDI)
20 oESI            mreg (ESI)
21 oEBP            mreg (EBP)
22 oESP            mreg (ESP)
23 oEBX            mreg (EBX)
24 oEDX            mreg (EDX)
25 oECX            mreg (ECX)
26 oEAX            mreg (EAX)
27 oEIP            mreg (EIP)
28 oFPREGS         mcontext (fpregs)
29 oSIGMASK        ucontext (uc_sigmask)
30 oFPREGSMEM      ucontext (__fpregs_mem)