/arch/um/sys-i386/shared/sysdep/archsetjmp.h

https://bitbucket.org/cresqo/cm7-p500-kernel · C Header · 22 lines · 14 code · 5 blank · 3 comment · 0 complexity · 2bc6c690784dbd14b0009cb70d68a970 MD5 · raw file

  1. /*
  2. * arch/um/include/sysdep-i386/archsetjmp.h
  3. */
  4. #ifndef _KLIBC_ARCHSETJMP_H
  5. #define _KLIBC_ARCHSETJMP_H
  6. struct __jmp_buf {
  7. unsigned int __ebx;
  8. unsigned int __esp;
  9. unsigned int __ebp;
  10. unsigned int __esi;
  11. unsigned int __edi;
  12. unsigned int __eip;
  13. };
  14. typedef struct __jmp_buf jmp_buf[1];
  15. #define JB_IP __eip
  16. #define JB_SP __esp
  17. #endif /* _SETJMP_H */