1 #ifndef _ARM_ANDROID_OS_H
2 #define _ARM_ANDROID_OS_H
6 typedef struct sigcontext mcontext_t
;
8 typedef struct os_context
{
9 unsigned long uc_flags
;
10 struct ucontext
* uc_link
;
12 mcontext_t uc_mcontext
;
14 char __padding
[128 - sizeof(sigset_t
)];
15 unsigned long uc_regspace
[128] __attribute__((__aligned__(8)));
19 typedef long os_context_register_t
;
21 static inline os_context_t
*arch_os_get_context(void **void_context
)
23 return (os_context_t
*) *void_context
;
26 unsigned long os_context_fp_control(os_context_t
*context
);
27 #define RESTORE_FP_CONTROL_FROM_CONTEXT
28 void os_restore_fp_control(os_context_t
*context
);
30 #endif /* _ARM_LINUX_OS_H */