X-Git-Url: http://repo.macrolet.net/gitweb/?a=blobdiff_plain;f=src%2Fruntime%2Fx86-linux-os.h;h=f2a39f9c19acf0aac592ecfc9e2defd97dfe0f9b;hb=063900ddad92b24ce64ae0d41942c40405047466;hp=90b34c0105d90f7b3735b727abc29ca2014a6691;hpb=4ae1b794a5d6a90794468cf8017f5307f2c30dfe;p=sbcl.git diff --git a/src/runtime/x86-linux-os.h b/src/runtime/x86-linux-os.h index 90b34c0..f2a39f9 100644 --- a/src/runtime/x86-linux-os.h +++ b/src/runtime/x86-linux-os.h @@ -2,13 +2,15 @@ #define _X86_LINUX_OS_H typedef struct ucontext os_context_t; -typedef long os_context_register_t; +typedef greg_t os_context_register_t; -static inline os_context_t *arch_os_get_context(void **void_context) { +static inline os_context_t *arch_os_get_context(void **void_context) +{ return (os_context_t *) *void_context; } unsigned long os_context_fp_control(os_context_t *context); +#define RESTORE_FP_CONTROL_FROM_CONTEXT void os_restore_fp_control(os_context_t *context); #endif /* _X86_LINUX_OS_H */