2 * libc/sysdeps/linux/v850/bits/setjmp.h -- v850 version of `jmp_buf' type
4 * Copyright (C) 2001 NEC Corporation
5 * Copyright (C) 2001 Miles Bader <miles@gnu.org>
7 * This file is subject to the terms and conditions of the GNU Lesser
8 * General Public License. See the file COPYING.LIB in the main
9 * directory of this archive for more details.
11 * Written by Miles Bader <miles@gnu.org>
14 #ifndef _BITS_SETJMP_H
15 #define _BITS_SETJMP_H 1
17 #if !defined _SETJMP_H && !defined _PTHREAD_H
18 # error "Never include <bits/setjmp.h> directly; use <setjmp.h> instead."
30 /* Callee-saved registers r2 and r20-r29. */
35 #define JB_SIZE (4 * 13)
37 /* Test if longjmp to JMPBUF would unwind the frame
38 containing a local variable at ADDRESS. */
39 #define _JMPBUF_UNWINDS(jmpbuf, address) \
40 ((void *) (address) < (void *) (jmpbuf)[0].__sp)
42 #endif /* bits/setjmp.h */