1 | /* Copyright (C) 2001-2022 Free Software Foundation, Inc. |
2 | This file is part of the GNU C Library. |
3 | |
4 | The GNU C Library is free software; you can redistribute it and/or |
5 | modify it under the terms of the GNU Lesser General Public |
6 | License as published by the Free Software Foundation; either |
7 | version 2.1 of the License, or (at your option) any later version. |
8 | |
9 | The GNU C Library is distributed in the hope that it will be useful, |
10 | but WITHOUT ANY WARRANTY; without even the implied warranty of |
11 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU |
12 | Lesser General Public License for more details. |
13 | |
14 | You should have received a copy of the GNU Lesser General Public |
15 | License along with the GNU C Library; if not, see |
16 | <https://www.gnu.org/licenses/>. */ |
17 | |
18 | /* Constants shared between setcontext() and getcontext(). Don't |
19 | install this header file. */ |
20 | |
21 | #define SIG_BLOCK 0 |
22 | #define SIG_UNBLOCK 1 |
23 | #define SIG_SETMASK 2 |
24 | |
25 | #include <sigcontext-offsets.h> |
26 | |
27 | #define rTMP r16 |
28 | #define rPOS r16 |
29 | #define rCPOS r17 |
30 | #define rNAT r18 |
31 | |
32 | #define rB5 r18 |
33 | #define rB4 r19 |
34 | #define rB3 r20 |
35 | #define rB2 r21 |
36 | #define rB1 r22 |
37 | #define rB0 r23 |
38 | #define rRSC r24 |
39 | #define rBSP r25 |
40 | #define rRNAT r26 |
41 | #define rUNAT r27 |
42 | #define rFPSR r28 |
43 | #define rPFS r29 |
44 | #define rLC r30 |
45 | #define rPR r31 |
46 | |