]> rtime.felk.cvut.cz Git - l4.git/blob - l4/pkg/l4re-core/uclibc/lib/contrib/uclibc/libc/sysdeps/linux/nios2/bits/setjmp.h
Update
[l4.git] / l4 / pkg / l4re-core / uclibc / lib / contrib / uclibc / libc / sysdeps / linux / nios2 / bits / setjmp.h
1 /* Define the machine-dependent type `jmp_buf'.  Nios2 version.
2    Copyright (C) 1992,93,95,97,2000 Free Software Foundation, Inc.
3    This file is part of the GNU C Library.
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, see
17    <http://www.gnu.org/licenses/>.  */
18
19 #ifndef _BITS_SETJMP_H
20 #define _BITS_SETJMP_H  1
21
22 #if !defined _SETJMP_H && !defined _PTHREAD_H
23 # error "Never include <bits/setjmp.h> directly; use <setjmp.h> instead."
24 #endif
25
26 typedef struct
27 {
28     /* Callee-saved registers r16 through r23.  */
29     unsigned long __regs[8];
30
31     /* Program counter.  */
32     unsigned long __pc;
33
34     /* Stack pointer.  */
35     unsigned long __sp;
36
37     /* The frame pointer.  */
38     unsigned long __fp;
39
40     /* The global pointer.  */
41     unsigned long __gp;
42
43         /* floating point regs, if any */
44 #ifdef __UCLIBC_HAS_FPU__
45     unsigned long __fpregs[64];
46 #endif
47 } __jmp_buf[1];
48
49 #endif  /* bits/setjmp.h */