]> rtime.felk.cvut.cz Git - l4.git/blob - l4/pkg/l4re-core/uclibc/lib/contrib/uclibc/libc/sysdeps/linux/i386/ucontext_i.sym
Update
[l4.git] / l4 / pkg / l4re-core / uclibc / lib / contrib / uclibc / libc / sysdeps / 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 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)