1.0.41.27: ppc: Calling convention fixes for assembly-routines calling static-funs.
[sbcl.git] / src / runtime / x86-64-linux-os.h
1 #ifndef _X86_64_LINUX_OS_H
2 #define _X86_64_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 {
9     return (os_context_t *) *void_context;
10 }
11
12 unsigned long os_context_fp_control(os_context_t *context);
13 #define RESTORE_FP_CONTROL_FROM_CONTEXT
14 void os_restore_fp_control(os_context_t *context);
15
16 #endif /* _X86_64_LINUX_OS_H */