-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 */
+#if __DARWIN_ALIGN_NATURAL
+#pragma options align=natural
+#endif
+
+/* kernel representation of struct ucontext64 for 64 bit processes */
+struct user_ucontext64 {
+ int uc_onstack;
+ sigset_t uc_sigmask; /* signal mask */
+ struct user_sigaltstack uc_stack; /* stack */
+ user_addr_t uc_link; /* ucontext pointer */
+ user_size_t uc_mcsize; /* mcontext size */
+ user_addr_t uc_mcontext64; /* machine context */