ucontext_i.sym 706 B

12345678910111213141516171819202122232425262728293031323334353637
  1. #include <stddef.h>
  2. #include <signal.h>
  3. #include <sys/ucontext.h>
  4. --
  5. SIG_BLOCK
  6. SIG_SETMASK
  7. _NSIG8 (_NSIG / 8)
  8. #define ucontext(member) offsetof (ucontext_t, member)
  9. #define mcontext(member) ucontext (uc_mcontext.member)
  10. #define mreg(reg) mcontext (gregs[REG_##reg])
  11. oRBP mreg (RBP)
  12. oRSP mreg (RSP)
  13. oRBX mreg (RBX)
  14. oR8 mreg (R8)
  15. oR9 mreg (R9)
  16. oR10 mreg (R10)
  17. oR11 mreg (R11)
  18. oR12 mreg (R12)
  19. oR13 mreg (R13)
  20. oR14 mreg (R14)
  21. oR15 mreg (R15)
  22. oRDI mreg (RDI)
  23. oRSI mreg (RSI)
  24. oRDX mreg (RDX)
  25. oRAX mreg (RAX)
  26. oRCX mreg (RCX)
  27. oRIP mreg (RIP)
  28. oEFL mreg (EFL)
  29. oFPREGS mcontext (fpregs)
  30. oSIGMASK ucontext (uc_sigmask)
  31. oFPREGSMEM ucontext (__fpregs_mem)
  32. oMXCSR ucontext (__fpregs_mem.mxcsr)