initial commit
[glibc.git] / .pc / i386 / local-setcontext-revert-eax-ecx-edx.patch / sysdeps / unix / sysv / linux / i386 / ucontext_i.sym
1 #include <stddef.h>
2 #include <signal.h>
3 #include <sys/ucontext.h>
4
5 --
6
7 SIG_BLOCK
8 SIG_SETMASK
9
10 #define ucontext(member) offsetof (ucontext_t, member)
11 #define mcontext(member) ucontext (uc_mcontext.member)
12 #define mreg(reg) mcontext (gregs[REG_##reg])
13
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 oEIP mreg (EIP)
25 oSCRATCH1 mreg (EAX)
26 oSCRATCH2 mreg (ECX)
27 oSCRATCH3 mreg (EDX)
28 oFPREGS mcontext (fpregs)
29 oSIGMASK ucontext (uc_sigmask)
30 oFPREGSMEM ucontext (__fpregs_mem)
31 oSSP ucontext (__ssp)