X-Git-Url: http://repo.macrolet.net/gitweb/?a=blobdiff_plain;ds=sidebyside;f=src%2Fruntime%2Fppc-linux-os.h;h=714d40d432be4b2f57559d8680b4f2554c277f91;hb=bf40ae88bc289fd765a33861cc4bc0853ed483ba;hp=28dad767572199e699aede668f01e9d116a56afc;hpb=637371f800e71ac4449e01d59571c9d10f6bde26;p=sbcl.git diff --git a/src/runtime/ppc-linux-os.h b/src/runtime/ppc-linux-os.h index 28dad76..714d40d 100644 --- a/src/runtime/ppc-linux-os.h +++ b/src/runtime/ppc-linux-os.h @@ -2,12 +2,15 @@ #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; +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 /* _PPC_LINUX_OS_H */