]> gitweb.factorcode.org Git - factor.git/blob - vm/os-openbsd-x86.64.hpp
032e77b154a9c31e0954358b305dd3f473996766
[factor.git] / vm / os-openbsd-x86.64.hpp
1 #include <amd64/signal.h>
2
3 namespace factor
4 {
5
6 static inline unsigned int uap_fpu_status(void *uap) { return 0; }
7 static inline void uap_clear_fpu_status(void *uap) {}
8
9 #define UAP_STACK_POINTER(ucontext) (((struct sigcontext *)ucontext)->sc_rsp)
10 #define UAP_PROGRAM_COUNTER(ucontext) (((struct sigcontext *)ucontext)->sc_rip)
11
12 }