X-Git-Url: https://git.saurik.com/apple/xnu.git/blobdiff_plain/43866e378188c25dd1e2208016ab3cbeb086ae6c..55e303ae13a4cf49d70f2294092726f2fffb9ef2:/bsd/sys/ucontext.h?ds=sidebyside diff --git a/bsd/sys/ucontext.h b/bsd/sys/ucontext.h index 114c476e5..993d22487 100644 --- a/bsd/sys/ucontext.h +++ b/bsd/sys/ucontext.h @@ -37,6 +37,18 @@ struct ucontext { mcontext_t uc_mcontext; /* machine specific context */ }; + typedef struct ucontext ucontext_t; +struct ucontext64 { + int uc_onstack; + sigset_t uc_sigmask; /* signal mask used by this context */ + stack_t uc_stack; /* stack used by this context */ + struct ucontext *uc_link; /* pointer to resuming context */ + size_t uc_mcsize; /* size of the machine context passed in */ + mcontext64_t uc_mcontext64; /* machine specific context */ +}; + +typedef struct ucontext64 ucontext64_t; + #endif /* _SYS_UCONTEXT_H_ */