]>
Commit | Line | Data |
---|---|---|
0c7c6d53 RM |
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 | ||
13 | oLINK ucontext (uc_link) | |
14 | oSS_SP ucontext (uc_stack.ss_sp) | |
15 | oSS_SIZE ucontext (uc_stack.ss_size) | |
3e1b5185 JC |
16 | oR0 mcontext (gregs[REG_R0]) |
17 | oR1 mcontext (gregs[REG_R1]) | |
18 | oR2 mcontext (gregs[REG_R2]) | |
19 | oR3 mcontext (gregs[REG_R3]) | |
20 | oR4 mcontext (gregs[REG_R4]) | |
21 | oR5 mcontext (gregs[REG_R5]) | |
22 | oR6 mcontext (gregs[REG_R6]) | |
23 | oR7 mcontext (gregs[REG_R7]) | |
24 | oR8 mcontext (gregs[REG_R8]) | |
25 | oR9 mcontext (gregs[REG_R9]) | |
26 | oR10 mcontext (gregs[REG_R10]) | |
27 | oR11 mcontext (gregs[REG_R11]) | |
28 | oR12 mcontext (gregs[REG_R12]) | |
29 | oR13 mcontext (gregs[REG_R13]) | |
30 | oR14 mcontext (gregs[REG_R14]) | |
31 | oR15 mcontext (gregs[REG_R15]) | |
0c7c6d53 RM |
32 | oPC mcontext (pc) |
33 | oPR mcontext (pr) | |
34 | oSR mcontext (sr) | |
35 | oGBR mcontext (gbr) | |
36 | oMACH mcontext (mach) | |
37 | oMACL mcontext (macl) | |
38 | oFR0 mcontext (fpregs[0]) | |
39 | oFR1 mcontext (fpregs[1]) | |
40 | oFR2 mcontext (fpregs[2]) | |
41 | oFR3 mcontext (fpregs[3]) | |
42 | oFR4 mcontext (fpregs[4]) | |
43 | oFR5 mcontext (fpregs[5]) | |
44 | oFR6 mcontext (fpregs[6]) | |
45 | oFR7 mcontext (fpregs[7]) | |
46 | oFR8 mcontext (fpregs[8]) | |
47 | oFR9 mcontext (fpregs[9]) | |
48 | oFR10 mcontext (fpregs[10]) | |
49 | oFR11 mcontext (fpregs[11]) | |
50 | oFR12 mcontext (fpregs[12]) | |
51 | oFR13 mcontext (fpregs[13]) | |
52 | oFR14 mcontext (fpregs[14]) | |
53 | oFR15 mcontext (fpregs[15]) | |
54 | oXFR0 mcontext (xfpregs[0]) | |
55 | oXFR1 mcontext (xfpregs[1]) | |
56 | oXFR2 mcontext (xfpregs[2]) | |
57 | oXFR3 mcontext (xfpregs[3]) | |
58 | oXFR4 mcontext (xfpregs[4]) | |
59 | oXFR5 mcontext (xfpregs[5]) | |
60 | oXFR6 mcontext (xfpregs[6]) | |
61 | oXFR7 mcontext (xfpregs[7]) | |
62 | oXFR8 mcontext (xfpregs[8]) | |
63 | oXFR9 mcontext (xfpregs[9]) | |
64 | oXFR10 mcontext (xfpregs[10]) | |
65 | oXFR11 mcontext (xfpregs[11]) | |
66 | oXFR12 mcontext (xfpregs[12]) | |
67 | oXFR13 mcontext (xfpregs[13]) | |
68 | oXFR14 mcontext (xfpregs[14]) | |
69 | oXFR15 mcontext (xfpregs[15]) | |
70 | oFPSCR mcontext (fpscr) | |
71 | oFPUL mcontext (fpul) | |
72 | oOWNEDFP mcontext (ownedfp) | |
73 | oSIGMASK ucontext (uc_sigmask) |