Back to index

glibc  2.9
ucontext_i.h
Go to the documentation of this file.
00001 /* Copyright (C) 2001, 2003 Free Software Foundation, Inc.
00002    This file is part of the GNU C Library.
00003      Contributed by David Mosberger-Tang <davidm@hpl.hp.com>.
00004 
00005    The GNU C Library is free software; you can redistribute it and/or
00006    modify it under the terms of the GNU Lesser General Public
00007    License as published by the Free Software Foundation; either
00008    version 2.1 of the License, or (at your option) any later version.
00009 
00010    The GNU C Library is distributed in the hope that it will be useful,
00011    but WITHOUT ANY WARRANTY; without even the implied warranty of
00012    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
00013    Lesser General Public License for more details.
00014 
00015    You should have received a copy of the GNU Lesser General Public
00016    License along with the GNU C Library; if not, write to the Free
00017    Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA
00018    02111-1307 USA.  */
00019 
00020 /* Constants shared between setcontext() and getcontext().  Don't
00021    install this header file.  */
00022 
00023 #define SIG_BLOCK    0
00024 #define SIG_UNBLOCK  1
00025 #define SIG_SETMASK  2
00026 
00027 #include <sigcontext-offsets.h>
00028 
00029 #define rTMP  r16
00030 #define rPOS  r16
00031 #define rCPOS r17
00032 #define rNAT  r18
00033 
00034 #define rB5   r18
00035 #define rB4   r19
00036 #define rB3   r20
00037 #define rB2   r21
00038 #define rB1   r22
00039 #define rB0   r23
00040 #define rRSC  r24
00041 #define rBSP  r25
00042 #define rRNAT r26
00043 #define rUNAT r27
00044 #define rFPSR r28
00045 #define rPFS  r29
00046 #define rLC   r30
00047 #define rPR   r31