1 #ifndef _X86_64_DARWIN_OS_H
2 #define _X86_64_DARWIN_OS_H
6 typedef register_t os_context_register_t;
8 static inline os_context_t *arch_os_get_context(void **void_context) {
9 return (os_context_t *) *void_context;
12 #define CONTEXT_ADDR_FROM_STEM(stem) &context->uc_mcontext->ss.stem
13 #define DARWIN_FIX_CONTEXT(context)
15 #endif /* _X86_64_DARWIN_OS_H */