]> git.ipfire.org Git - thirdparty/glibc.git/blob - sysdeps/unix/sysv/linux/ia64/ucontext_i.h
2003-05-28 Roland McGrath <roland@redhat.com>
[thirdparty/glibc.git] / sysdeps / unix / sysv / linux / ia64 / ucontext_i.h
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>.
4
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.
9
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.
14
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. */
19
20 /* Constants shared between setcontext() and getcontext(). Don't
21 install this header file. */
22
23 #define SIG_BLOCK 0
24 #define SIG_UNBLOCK 1
25 #define SIG_SETMASK 2
26
27 #define SC_NAT 0x008
28 #define SC_BSP 0x048
29 #define SC_RNAT 0x050
30 #define SC_UNAT 0x060
31 #define SC_FPSR 0x068
32 #define SC_PFS 0x070
33 #define SC_LC 0x078
34 #define SC_PR 0x080
35 #define SC_BR 0x088
36 #define SC_GR 0x0c8
37 #define SC_FR 0x1d0
38 #define SC_MASK 0xa50
39
40
41 #define rTMP r16
42 #define rPOS r16
43 #define rCPOS r17
44 #define rNAT r18
45
46 #define rB5 r18
47 #define rB4 r19
48 #define rB3 r20
49 #define rB2 r21
50 #define rB1 r22
51 #define rB0 r23
52 #define rRSC r24
53 #define rBSP r25
54 #define rRNAT r26
55 #define rUNAT r27
56 #define rFPSR r28
57 #define rPFS r29
58 #define rLC r30
59 #define rPR r31