984e932986958de9b3a7d09969aca56ed87976af
[sbcl.git] / src / runtime / ppc-darwin-os.h
1 #ifndef _PPC_DARWIN_OS_H
2 #define _PPC_DARWIN_OS_H
3
4 typedef unsigned int os_context_register_t;
5
6 static inline os_context_t *arch_os_get_context(void **void_context)
7 {
8     return (os_context_t *) *void_context;
9 }
10
11 #define DARWIN_FIX_CONTEXT(c) (c->uc_mcontext->ss.xer)^=0x80;
12 #endif /* _PPC_DARWIN_OS_H */