]> gitweb.factorcode.org Git - factor.git/blobdiff - vm/os-linux-x86.32.hpp
32 and 64 bit Linux PPC support
[factor.git] / vm / os-linux-x86.32.hpp
index 53a93d17de0f9745f5bd29d644f707c3e98dced3..40ba68fefac7400e992094c5a2d5665afa5de155 100644 (file)
@@ -51,5 +51,12 @@ inline static void uap_clear_fpu_status(void *uap)
 
 #define UAP_STACK_POINTER(ucontext) (((ucontext_t *)ucontext)->uc_mcontext.gregs[7])
 #define UAP_PROGRAM_COUNTER(ucontext) (((ucontext_t *)ucontext)->uc_mcontext.gregs[14])
+#define UAP_SET_TOC_POINTER(uap, ptr) (void)0
 
+#define CODE_TO_FUNCTION_POINTER(code) (void)0
+#define CODE_TO_FUNCTION_POINTER_CALLBACK(vm, code) (void)0
+#define FUNCTION_CODE_POINTER(ptr) ptr
+#define FUNCTION_TOC_POINTER(ptr) ptr
+
+#define UAP_STACK_POINTER_TYPE greg_t
 }