]> gitweb.factorcode.org Git - factor.git/blob - vm/os-freebsd.hpp
Merge branch 'master' into highlight
[factor.git] / vm / os-freebsd.hpp
1 #include <osreldate.h>
2 #include <sys/sysctl.h>
3
4 extern "C" int getosreldate();
5
6 #ifndef KERN_PROC_PATHNAME
7 #define KERN_PROC_PATHNAME 12
8 #endif
9
10 #define UAP_STACK_POINTER_TYPE __register_t
11
12 #define CODE_TO_FUNCTION_POINTER(code) (void)0
13 #define CODE_TO_FUNCTION_POINTER_CALLBACK(vm, code) (void)0
14 #define FUNCTION_CODE_POINTER(ptr) ptr
15 #define FUNCTION_TOC_POINTER(ptr) ptr
16 #define UAP_SET_TOC_POINTER(uap, ptr) (void)0