1 #ifndef _PPC_DARWIN_OS_H
2 #define _PPC_DARWIN_OS_H
4 typedef unsigned int os_context_register_t;
6 static inline os_context_t *arch_os_get_context(void **void_context) {
7 return (os_context_t *) *void_context;
10 #define DARWIN_FIX_CONTEXT(c) (c->uc_mcontext->ss.xer)^=0x80;
11 #endif /* _PPC_DARWIN_OS_H */