1 /* 2 * libc/sysdeps/linux/microblaze/bits/setjmp.h -- microblaze version of `jmp_buf' type 3 * 4 * Copyright (C) 2003 John Williams <jwilliams@itee.uq.edu.au> 5 * Copyright (C) 2001 NEC Corporation 6 * Copyright (C) 2001 Miles Bader <miles@gnu.org> 7 * 8 * This file is subject to the terms and conditions of the GNU Lesser 9 * General Public License. See the file COPYING.LIB in the main 10 * directory of this archive for more details. 11 * 12 * Written by Miles Bader <miles@gnu.org> 13 */ 14 15 #ifndef _BITS_SETJMP_H 16 #define _BITS_SETJMP_H 1 17 18 #if !defined _SETJMP_H && !defined _PTHREAD_H 19 # error "Never include <bits/setjmp.h> directly; use <setjmp.h> instead." 20 #endif 21 22 typedef struct 23 { 24 /* Stack pointer. */ 25 void *__sp; 26 27 /* Link pointer. */ 28 void *__lp; 29 30 /* SDA pointers */ 31 void *__SDA; 32 void *__SDA2; 33 34 /* Callee-saved registers r18-r31. */ 35 int __regs[14]; 36 } __jmp_buf[1]; 37 38 #endif /* bits/setjmp.h */ 39