X-Git-Url: http://repo.macrolet.net/gitweb/?a=blobdiff_plain;f=src%2Fruntime%2Fhppa-linux-os.c;h=3cc5417ca35e9202e8147fae7da0a25b7d92362a;hb=7f1e94ae961a198e00daf281eb1dc858e5b2dcc7;hp=b7629260d31da12ec0aa143b79fbde55bf83773a;hpb=cf4cb9554515c59eddbde38d1cf236339c37f55f;p=sbcl.git diff --git a/src/runtime/hppa-linux-os.c b/src/runtime/hppa-linux-os.c index b762926..3cc5417 100644 --- a/src/runtime/hppa-linux-os.c +++ b/src/runtime/hppa-linux-os.c @@ -52,15 +52,15 @@ os_context_register_t * os_context_register_addr(os_context_t *context, int offset) { if (offset == 0) { - /* KLUDGE: I'm not sure, but it's possible that Linux puts the + /* KLUDGE: I'm not sure, but it's possible that Linux puts the contents of the Processor Status Word in the (wired-zero) slot in the mcontext. In any case, the following is unlikely to do any harm: */ - static int zero; - zero = 0; - return &zero; + static int zero; + zero = 0; + return &zero; } else { - return &(((struct sigcontext *) &(context->uc_mcontext))->sc_gr[offset]); + return &(((struct sigcontext *) &(context->uc_mcontext))->sc_gr[offset]); } } @@ -83,13 +83,13 @@ os_context_sigmask_addr(os_context_t *context) return &(context->uc_sigmask); } -void +void os_restore_fp_control(os_context_t *context) { /* FIXME: Probably do something. */ } -void +void os_flush_icache(os_vm_address_t address, os_vm_size_t length) { /* FIXME: Maybe this is OK. */