1 #ifndef _ARM_LINUX_OS_H
2 #define _ARM_LINUX_OS_H
4 typedef ucontext_t os_context_t
;
5 typedef long os_context_register_t
;
7 #include "arch-os-generic.inc"
9 unsigned long os_context_fp_control(os_context_t
*context
);
10 #define RESTORE_FP_CONTROL_FROM_CONTEXT
11 void os_restore_fp_control(os_context_t
*context
);
13 #define OS_CONTEXT_PC(context) context->uc_mcontext.arm_pc
15 #endif /* _ARM_LINUX_OS_H */