setjmp.h 805 B

123456789101112131415161718192021222324252627282930313233
  1. /*
  2. * libc/sysdeps/linux/v850/bits/setjmp.h -- v850 version of `jmp_buf' type
  3. *
  4. * Copyright (C) 2001 NEC Corporation
  5. * Copyright (C) 2001 Miles Bader <miles@gnu.org>
  6. *
  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.
  10. *
  11. * Written by Miles Bader <miles@gnu.org>
  12. */
  13. #ifndef _BITS_SETJMP_H
  14. #define _BITS_SETJMP_H 1
  15. #if !defined _SETJMP_H && !defined _PTHREAD_H
  16. # error "Never include <bits/setjmp.h> directly; use <setjmp.h> instead."
  17. #endif
  18. typedef struct
  19. {
  20. /* Stack pointer. */
  21. void *__sp;
  22. /* Link pointer. */
  23. void *__lp;
  24. /* Callee-saved registers r2 and r20-r29. */
  25. int __regs[11];
  26. } __jmp_buf[1];
  27. #endif /* bits/setjmp.h */