X-Git-Url: http://repo.macrolet.net/gitweb/?a=blobdiff_plain;f=src%2Fruntime%2Fsparc-sunos-os.h;h=3c72cb33dd6f9e47cc56cce1aacfa3a62ac7d882;hb=eac461c1f1ca91cfe282c779291d582ed6b336cb;hp=4f099acf55b4dd8efa52174a2ad1527702272b10;hpb=503a50f07740b52908f630b0492cf56556f1a792;p=sbcl.git diff --git a/src/runtime/sparc-sunos-os.h b/src/runtime/sparc-sunos-os.h index 4f099ac..3c72cb3 100644 --- a/src/runtime/sparc-sunos-os.h +++ b/src/runtime/sparc-sunos-os.h @@ -2,8 +2,10 @@ #define _SPARC_SOLARIS_OS_H typedef ucontext_t os_context_t; +typedef int os_context_register_t ; -static inline os_context_t *arch_os_get_context(void **void_context) { +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); }