0.9.6.52:
[sbcl/eslaughter.git] / src / runtime / sparc-sunos-os.h
blob4f099acf55b4dd8efa52174a2ad1527702272b10
1 #ifndef _SPARC_SOLARIS_OS_H
2 #define _SPARC_SOLARIS_OS_H
4 typedef ucontext_t os_context_t;
6 static inline os_context_t *arch_os_get_context(void **void_context) {
7 asm volatile ("ta 0x03"); /* ta ST_FLUSH_WINDOWS */
8 return (os_context_t *) (*void_context);
11 #endif /* _SPARC_SOLARIS_OS_H */