X-Git-Url: http://repo.macrolet.net/gitweb/?a=blobdiff_plain;f=src%2Fruntime%2Fppc-linux-os.h;h=4f65e16430678c1980089151d80a0953ce7f134a;hb=17532463fa19f2fc2aba53b65c32e200a27ccd6a;hp=e057ad35d9d468edf0ecb0ebf6fa60d7834f2545;hpb=c1b4849c95bad4f3535fba2b9307fd37e15bcf6d;p=sbcl.git diff --git a/src/runtime/ppc-linux-os.h b/src/runtime/ppc-linux-os.h index e057ad3..4f65e16 100644 --- a/src/runtime/ppc-linux-os.h +++ b/src/runtime/ppc-linux-os.h @@ -2,9 +2,13 @@ #define _PPC_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; } +unsigned long os_context_fp_control(os_context_t *context); +void os_restore_fp_control(os_context_t *context); + #endif /* _PPC_LINUX_OS_H */