X-Git-Url: http://repo.macrolet.net/gitweb/?a=blobdiff_plain;f=src%2Fruntime%2Fsparc-linux-os.h;h=7214d154754ce4d68f1aceade36f7c9fa2011670;hb=816c50a5589bcf756f67119e657ae348e4858357;hp=98413e803fbaa9b73f33d415dbfc9c906fa6920d;hpb=637371f800e71ac4449e01d59571c9d10f6bde26;p=sbcl.git diff --git a/src/runtime/sparc-linux-os.h b/src/runtime/sparc-linux-os.h index 98413e8..7214d15 100644 --- a/src/runtime/sparc-linux-os.h +++ b/src/runtime/sparc-linux-os.h @@ -2,10 +2,12 @@ #define _SPARC_LINUX_OS_H typedef struct sigcontext os_context_t; +typedef unsigned long os_context_register_t; -static inline os_context_t *arch_os_get_context(void **void_context) { - asm volatile ("ta 0x03"); /* ta ST_FLUSH_WINDOWS */ - return (os_context_t *) (void_context + 37); +static inline os_context_t *arch_os_get_context(void **void_context) +{ + asm volatile ("ta 0x03"); /* ta ST_FLUSH_WINDOWS */ + return (os_context_t *) (void_context + 37); } unsigned long os_context_fp_control(os_context_t *context);