]> gitweb.factorcode.org Git - factor.git/blob - vm/os-netbsd.hpp
32 and 64 bit Linux PPC support
[factor.git] / vm / os-netbsd.hpp
1 #include <ucontext.h>
2
3 #define UAP_PROGRAM_COUNTER(uap) _UC_MACHINE_PC((ucontext_t *)uap)
4
5 #define UAP_STACK_POINTER_TYPE __greg_t
6
7 #define UAP_SET_TOC_POINTER(uap, ptr) (void)0
8 #define CODE_TO_FUNCTION_POINTER(code) (void)0
9 #define CODE_TO_FUNCTION_POINTER_CALLBACK(vm, code) (void)0
10 #define FUNCTION_CODE_POINTER(ptr) ptr
11 #define FUNCTION_TOC_POINTER(ptr) ptr