1.0.8.1: Nicer C code
[sbcl/tcr.git] / src / runtime / x86-64-darwin-os.h
blobd68693dd0201c9f73f5ab49798ae498828ceabf6
1 #ifndef _X86_64_DARWIN_OS_H
2 #define _X86_64_DARWIN_OS_H
4 #include "darwin-os.h"
6 typedef register_t os_context_register_t;
8 static inline os_context_t *arch_os_get_context(void **void_context)
10 return (os_context_t *) *void_context;
13 #define CONTEXT_ADDR_FROM_STEM(stem) &context->uc_mcontext->ss.stem
14 #define DARWIN_FIX_CONTEXT(context)
16 #endif /* _X86_64_DARWIN_OS_H */