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)
8 return (os_context_t *) *void_context;
11 #define DARWIN_FIX_CONTEXT(c) (c->uc_mcontext->ss.xer)^=0x80;
12 #endif /* _PPC_DARWIN_OS_H */