1 #ifndef _MIPS_LINUX_OS_H
2 #define _MIPS_LINUX_OS_H
4 typedef ucontext_t os_context_t
;
5 typedef unsigned long long os_context_register_t
;
7 unsigned int os_context_fp_control(os_context_t
*context
);
8 void os_restore_fp_control(os_context_t
*context
);
9 unsigned int os_context_bd_cause(os_context_t
*context
);
11 #define OS_CONTEXT_PC(context) context->uc_mcontext.pc
13 #endif /* _MIPS_LINUX_OS_H */