setjmp.h 934 B

1234567891011121314151617181920212223242526272829303132333435363738
  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. #ifndef _BITS_SETJMP_H
  15. #define _BITS_SETJMP_H 1
  16. #if !defined _SETJMP_H && !defined _PTHREAD_H
  17. # error "Never include <bits/setjmp.h> directly; use <setjmp.h> instead."
  18. #endif
  19. typedef struct
  20. {
  21. /* Stack pointer. */
  22. void *__sp;
  23. /* Link pointer. */
  24. void *__lp;
  25. /* SDA pointers */
  26. void *__SDA;
  27. void *__SDA2;
  28. /* Callee-saved registers r18-r31. */
  29. int __regs[14];
  30. } __jmp_buf[1];
  31. #endif /* bits/setjmp.h */