X-Git-Url: http://repo.macrolet.net/gitweb/?a=blobdiff_plain;f=src%2Fruntime%2Falpha-osf1-os.c;h=946a70ec83819a8d93b535a42dbe0d5379d87918;hb=bf40ae88bc289fd765a33861cc4bc0853ed483ba;hp=14362c8e3a28e1c8e0c088cfe241c07e9cc6a9d2;hpb=9f10bc102adce15a820027777a03e49a7b7623da;p=sbcl.git diff --git a/src/runtime/alpha-osf1-os.c b/src/runtime/alpha-osf1-os.c index 14362c8..946a70e 100644 --- a/src/runtime/alpha-osf1-os.c +++ b/src/runtime/alpha-osf1-os.c @@ -19,6 +19,7 @@ #include #include #include +#include "sbcl.h" #include "./signal.h" #include "os.h" #include "arch.h" @@ -26,7 +27,6 @@ #include "interrupt.h" #include "interr.h" #include "lispregs.h" -#include "sbcl.h" #include #include @@ -41,6 +41,16 @@ #include "validate.h" size_t os_vm_page_size; +#ifdef LISP_FEATURE_SB_THREAD +#error "Define threading support functions" +#else +int arch_os_thread_init(struct thread *thread) { + return 1; /* success */ +} +int arch_os_thread_cleanup(struct thread *thread) { + return 1; /* success */ +} +#endif os_context_register_t * os_context_register_addr(os_context_t *context, int offset) @@ -77,7 +87,7 @@ os_context_fp_control(os_context_t *context) void os_flush_icache(os_vm_address_t address, os_vm_size_t length) { #ifdef __GNUC__ - asm volatile ("imb" : : : "memory" ); + asm volatile ("imb" : : : "memory" ); #else /* digital CC has different syntax */ asm("imb");