]> gitweb.factorcode.org Git - factor.git/blob - vm/os-openbsd-x86.32.hpp
Unbreakify the new profiler, add a couple of unit tests to demonstrate displaying...
[factor.git] / vm / os-openbsd-x86.32.hpp
1 #include <i386/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_esp)
10 #define UAP_PROGRAM_COUNTER(ucontext) (((struct sigcontext *)ucontext)->sc_eip)
11
12 }