archsetjmp_64.h 415 B

12345678910111213141516171819202122232425
  1. /*
  2. * arch/um/include/sysdep-x86_64/archsetjmp.h
  3. */
  4. #ifndef _KLIBC_ARCHSETJMP_H
  5. #define _KLIBC_ARCHSETJMP_H
  6. struct __jmp_buf {
  7. unsigned long __rbx;
  8. unsigned long __rsp;
  9. unsigned long __rbp;
  10. unsigned long __r12;
  11. unsigned long __r13;
  12. unsigned long __r14;
  13. unsigned long __r15;
  14. unsigned long __rip;
  15. };
  16. typedef struct __jmp_buf jmp_buf[1];
  17. #define JB_IP __rip
  18. #define JB_SP __rsp
  19. #endif /* _SETJMP_H */