ucontext_i.sym 625 B

123456789101112131415161718192021222324252627282930
  1. #include <stddef.h>
  2. #include <signal.h>
  3. #include <sys/ucontext.h>
  4. --
  5. SIG_BLOCK
  6. SIG_SETMASK
  7. #define ucontext(member) offsetof (ucontext_t, member)
  8. #define mcontext(member) ucontext (uc_mcontext.member)
  9. #define mreg(reg) mcontext (gregs[REG_##reg])
  10. oLINK ucontext (uc_link)
  11. oSS_SP ucontext (uc_stack.ss_sp)
  12. oSS_SIZE ucontext (uc_stack.ss_size)
  13. oGS mreg (GS)
  14. oFS mreg (FS)
  15. oEDI mreg (EDI)
  16. oESI mreg (ESI)
  17. oEBP mreg (EBP)
  18. oESP mreg (ESP)
  19. oEBX mreg (EBX)
  20. oEDX mreg (EDX)
  21. oECX mreg (ECX)
  22. oEAX mreg (EAX)
  23. oEIP mreg (EIP)
  24. oFPREGS mcontext (fpregs)
  25. oSIGMASK ucontext (uc_sigmask)
  26. oFPREGSMEM ucontext (__fpregs_mem)