X-Git-Url: http://repo.macrolet.net/gitweb/?a=blobdiff_plain;f=src%2Fruntime%2Fx86-linux-os.h;h=a2332230c35f3392bd4935554ee7515852e4fc03;hb=e365f2f7a9c66d307b48fee70778f4eaa84bdcc0;hp=02cdfc1198efbd1594973b34279bbd4aefaebdcc;hpb=68fd2d2dd6f265669a8957accd8a33e62786a97e;p=sbcl.git diff --git a/src/runtime/x86-linux-os.h b/src/runtime/x86-linux-os.h index 02cdfc1..a233223 100644 --- a/src/runtime/x86-linux-os.h +++ b/src/runtime/x86-linux-os.h @@ -2,9 +2,15 @@ #define _X86_LINUX_OS_H typedef struct ucontext os_context_t; +typedef long os_context_register_t; static inline os_context_t *arch_os_get_context(void **void_context) { - return (os_context_t *) *void_context; + return (os_context_t *) *void_context; } +extern struct thread *arch_os_get_current_thread(); +unsigned long os_context_fp_control(os_context_t *context); +void os_restore_fp_control(os_context_t *context); +int arch_os_thread_init(struct thread *thread); + #endif /* _X86_LINUX_OS_H */