]> git.saurik.com Git - apple/xnu.git/blobdiff - bsd/ppc/ucontext.h
xnu-517.7.7.tar.gz
[apple/xnu.git] / bsd / ppc / ucontext.h
index c2d9d31fb4f2c4c36fb60a1088f16b34d4074011..77c4592440d0306c6bd7f40638467ce986d6ae67 100644 (file)
@@ -37,4 +37,14 @@ struct mcontext {
 
 typedef struct mcontext  * mcontext_t;
 
+struct mcontext64 {
+       ppc_exception_state_t   es;
+       ppc_thread_state64_t    ss;
+       ppc_float_state_t       fs;
+       ppc_vector_state_t      vs;
+};
+#define PPC_MCONTEXT64_SIZE    (PPC_THREAD_STATE64_COUNT + PPC_FLOAT_STATE_COUNT + PPC_EXCEPTION_STATE_COUNT + PPC_VECTOR_STATE_COUNT) * sizeof(int)
+
+typedef struct mcontext64  * mcontext64_t;
+
 #endif /* _PPC_UCONTEXT_H_ */