X-Git-Url: http://repo.macrolet.net/gitweb/?a=blobdiff_plain;f=src%2Fruntime%2Fx86-linux-os.c;h=560babb9fc1c7795e8d8b33fbe8ae0534058c796;hb=5037c9ac22cbab91eb3cf1ee6261c8589e17e81d;hp=ed7a9e03984fb21d5fcc0d6bef8b55bce60b118e;hpb=aca45f35fc54bc29e2c79397e3538ff27f6e0db9;p=sbcl.git diff --git a/src/runtime/x86-linux-os.c b/src/runtime/x86-linux-os.c index ed7a9e0..560babb 100644 --- a/src/runtime/x86-linux-os.c +++ b/src/runtime/x86-linux-os.c @@ -76,6 +76,23 @@ os_context_sp_addr(os_context_t *context) return &context->uc_mcontext.gregs[17]; } +unsigned long +os_context_fp_control(os_context_t *context) +{ + /* probably the code snippet + * #ifdef __linux__ + * SET_FPU_CONTROL_WORD(context->__fpregs_mem.cw); + * #endif + * is relevant to implementing this correctly */ + + /* Note that currently this is not called, as there is an analogous + * stub in lisp-land (x86-vm.lisp), also returning 0, with the old + * lisp fp-control code. This is here more as a signpost of a possible + * way of restoring functionality, and if it is the way to go would + * need to be included for other architectures as well. */ + return 0; +} + sigset_t * os_context_sigmask_addr(os_context_t *context) {