0.pre8.33
[sbcl.git] / src / runtime / ppc-linux-os.h
1 #ifndef _PPC_LINUX_OS_H
2 #define _PPC_LINUX_OS_H
3
4 typedef struct ucontext os_context_t;
5 typedef long os_context_register_t;
6
7 static inline os_context_t *arch_os_get_context(void **void_context) {
8     return (os_context_t *) *void_context;
9 }
10
11 unsigned long os_context_fp_control(os_context_t *context);
12 void os_restore_fp_control(os_context_t *context);
13 extern struct thread *arch_os_get_current_thread();
14
15 #endif /* _PPC_LINUX_OS_H */