X-Git-Url: http://repo.macrolet.net/gitweb/?a=blobdiff_plain;f=src%2Fruntime%2Falpha-arch.c;h=20f86a468ffc8e6799bcce1840b91c1aa67aad40;hb=a5b84ffa6a4599b958f4c856c39e55712ccb8cc2;hp=27ea9eef4ee806aeaaacb7a8a8e9160d661863c1;hpb=1e4629723d19f96d752235ffde34fe58431431ae;p=sbcl.git diff --git a/src/runtime/alpha-arch.c b/src/runtime/alpha-arch.c index 27ea9ee..20f86a4 100644 --- a/src/runtime/alpha-arch.c +++ b/src/runtime/alpha-arch.c @@ -279,10 +279,14 @@ static void sigtrap_handler(int signal, siginfo_t *siginfo, os_context_t *context) { unsigned int code; + sigset_t *mask; +#ifdef LISP_FEATURE_LINUX + os_restore_fp_control(context); +#endif /* Don't disallow recursive breakpoint traps. Otherwise, we can't */ /* use debugger breakpoints anywhere in here. */ - sigset_t *mask=(os_context_sigmask_addr(context)); + mask=(os_context_sigmask_addr(context)); sigsetmask(mask); /* this is different from how CMUCL does it. CMUCL used "call_pal @@ -365,6 +369,11 @@ void arch_install_interrupt_handlers() undoably_install_low_level_interrupt_handler(SIGTRAP, sigtrap_handler); } +void get_spinlock(lispobj *word, int value) { + /* FIXME: dummy definition */ + *word = value; +} + extern lispobj call_into_lisp(lispobj fun, lispobj *args, int nargs); lispobj funcall0(lispobj function)