2.9
[glibc/nacl-glibc.git] / sysdeps / unix / sysv / linux / ia64 / ucontext_i.h
blobe2a4d3c2b8a692d811e497d03aa166c942672d33
1 /* Copyright (C) 2001, 2003 Free Software Foundation, Inc.
2 This file is part of the GNU C Library.
3 Contributed by David Mosberger-Tang <davidm@hpl.hp.com>.
5 The GNU C Library is free software; you can redistribute it and/or
6 modify it under the terms of the GNU Lesser General Public
7 License as published by the Free Software Foundation; either
8 version 2.1 of the License, or (at your option) any later version.
10 The GNU C Library is distributed in the hope that it will be useful,
11 but WITHOUT ANY WARRANTY; without even the implied warranty of
12 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
13 Lesser General Public License for more details.
15 You should have received a copy of the GNU Lesser General Public
16 License along with the GNU C Library; if not, write to the Free
17 Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA
18 02111-1307 USA. */
20 /* Constants shared between setcontext() and getcontext(). Don't
21 install this header file. */
23 #define SIG_BLOCK 0
24 #define SIG_UNBLOCK 1
25 #define SIG_SETMASK 2
27 #include <sigcontext-offsets.h>
29 #define rTMP r16
30 #define rPOS r16
31 #define rCPOS r17
32 #define rNAT r18
34 #define rB5 r18
35 #define rB4 r19
36 #define rB3 r20
37 #define rB2 r21
38 #define rB1 r22
39 #define rB0 r23
40 #define rRSC r24
41 #define rBSP r25
42 #define rRNAT r26
43 #define rUNAT r27
44 #define rFPSR r28
45 #define rPFS r29
46 #define rLC r30
47 #define rPR r31