1.0.12.40: NetBSD/Sparc port by Robert Swindells
[sbcl/simd.git] / src / runtime / sparc-netbsd.h
blob84ac8d3abe9a200272fd3d6006c820b0a5faa7b1
1 #ifndef _SPARC_BSD_OS_H
2 #define _SPARC_BSD_OS_H
4 typedef unsigned long os_context_register_t;
5 #define DARWIN_FIX_CONTEXT(context)
7 static inline os_context_t *arch_os_get_context(void **void_context) {
8 asm volatile ("ta 0x03"); /* ta ST_FLUSH_WINDOWS */
9 return (os_context_t *) (*void_context);
12 #endif /* _SPARC_BSD_OS_H */