]> gitweb.factorcode.org Git - factor.git/blob - vm/os-netbsd-x86.64.hpp
Merge branch 'master' of git://factorcode.org/git/factor into constraints
[factor.git] / vm / os-netbsd-x86.64.hpp
1 #include <ucontext.h>
2
3 namespace factor
4 {
5
6 #define ucontext_stack_pointer(uap) \
7         ((void *)(((ucontext_t *)(uap))->uc_mcontext.__gregs[_REG_URSP]))
8
9 static inline unsigned int uap_fpu_status(void *uap) { return 0; }
10 static inline void uap_clear_fpu_status(void *uap) {  }
11
12 }