1 #ifndef _SPARC_LINUX_OS_H
2 #define _SPARC_LINUX_OS_H
4 typedef struct sigcontext 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 + 37);
11 unsigned long os_context_fp_control(os_context_t *context);
12 void os_restore_fp_control(os_context_t *context);
14 #endif /* _SPARC_LINUX_OS_H */