1 #ifndef _MIPS_LINUX_OS_H
2 #define _MIPS_LINUX_OS_H
4 typedef struct ucontext os_context_t
;
5 typedef unsigned long long os_context_register_t
;
7 static inline os_context_t
*arch_os_get_context(void **void_context
)
9 return (os_context_t
*) *void_context
;
12 unsigned int os_context_fp_control(os_context_t
*context
);
13 void os_restore_fp_control(os_context_t
*context
);
14 unsigned int os_context_bd_cause(os_context_t
*context
);
16 #endif /* _MIPS_LINUX_OS_H */