setjmp.h 889 B

123456789101112131415161718192021222324252627282930
  1. /* Define the machine-dependent type `jmp_buf'. Vax version. */
  2. #ifndef _SETJMP_H
  3. # error "Never include <bits/setjmp.h> directly; use <setjmp.h> instead."
  4. #endif
  5. /* we want to save enough that we can use this to fool RET,
  6. * So we basically save all of the CALLS stack frame. Plus regs. */
  7. typedef int __jmp_buf[16];
  8. /*
  9. jmp_buf layout. jmp_buf[0]
  10. void *__cond; The condition handler
  11. void *__psw; mask and PSW bits
  12. void *__ap; argument pointer
  13. void *__fp; frame pointer
  14. void *__pc; program counter
  15. no need to save r0
  16. void *__r1; regs, r0->r11.
  17. void *__r2; regs, r0->r11.
  18. void *__r3; regs, r0->r11.
  19. void *__r4; regs, r0->r11.
  20. void *__r5; regs, r0->r11.
  21. void *__r6; regs, r0->r11.
  22. void *__r7; regs, r0->r11.
  23. void *__r8; regs, r0->r11.
  24. void *__r9; regs, r0->r11.
  25. void *__rA; regs, r0->r11.
  26. void *__rB; regs, r0->r11.
  27. */