X-Git-Url: http://repo.macrolet.net/gitweb/?a=blobdiff_plain;f=src%2Fruntime%2Fhppa-linux-os.h;h=818d469d11aa72648fe46c98f2c6a16ff8e87c5b;hb=5f0bd05a15aaf93f46baf9b8aa3e9b0bfbca26ab;hp=961ec444b170bf9fbfde2f3d797d78e516c743ed;hpb=584bfdc4e1093e43e4eb328a418b012745935a29;p=sbcl.git diff --git a/src/runtime/hppa-linux-os.h b/src/runtime/hppa-linux-os.h index 961ec44..818d469 100644 --- a/src/runtime/hppa-linux-os.h +++ b/src/runtime/hppa-linux-os.h @@ -14,4 +14,8 @@ static inline os_context_t *arch_os_get_context(void **void_context) unsigned long os_context_fp_control(os_context_t *context); void os_restore_fp_control(os_context_t *context); +#define SC_REG(sc, n) (((unsigned long *)((sc)->sc_ap))[n]) +#define SC_PC(sc) ((sc)->sc_pcoqh) +#define SC_NPC(sc) ((sc)->sc_pcoqt) + #endif /* _HPPA_LINUX_OS_H */