ucontext.h 493 B

123456789101112131415161718
  1. #ifndef _ASM_X86_UCONTEXT_H
  2. #define _ASM_X86_UCONTEXT_H
  3. #define UC_FP_XSTATE 0x1 /* indicates the presence of extended state
  4. * information in the memory layout pointed
  5. * by the fpstate pointer in the ucontext's
  6. * sigcontext struct (uc_mcontext).
  7. */
  8. struct ucontext {
  9. unsigned long uc_flags;
  10. struct ucontext *uc_link;
  11. stack_t uc_stack;
  12. struct sigcontext uc_mcontext;
  13. sigset_t uc_sigmask; /* mask last for extensibility */
  14. };
  15. #endif /* _ASM_X86_UCONTEXT_H */