Module Name: src Committed By: kamil Date: Tue Feb 27 11:26:39 UTC 2018
Modified Files: src/sys/arch/hppa/include: mcontext.h Log Message: Implement _UC_MACHINE_INTRV() for hppa INTRV = integer return value For hppa this is R28 alias _REG_RET0. To generate a diff of this commit: cvs rdiff -u -r1.9 -r1.10 src/sys/arch/hppa/include/mcontext.h Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: src/sys/arch/hppa/include/mcontext.h diff -u src/sys/arch/hppa/include/mcontext.h:1.9 src/sys/arch/hppa/include/mcontext.h:1.10 --- src/sys/arch/hppa/include/mcontext.h:1.9 Thu Feb 15 15:53:56 2018 +++ src/sys/arch/hppa/include/mcontext.h Tue Feb 27 11:26:39 2018 @@ -1,4 +1,4 @@ -/* $NetBSD: mcontext.h,v 1.9 2018/02/15 15:53:56 kamil Exp $ */ +/* $NetBSD: mcontext.h,v 1.10 2018/02/27 11:26:39 kamil Exp $ */ #ifndef _HPPA_MCONTEXT_H_ #define _HPPA_MCONTEXT_H_ @@ -57,6 +57,7 @@ do { \ (uc)->uc_mcontext.__gregs[_REG_PCOQH] = (pc); \ (uc)->uc_mcontext.__gregs[_REG_PCOQT] = (pc) + 4; \ } while (/*CONSTCOND*/0) +#define _UC_MACHINE_INTRV(uc) ((uc)->uc_mcontext.__gregs[_REG_RET0]) static __inline void * __lwp_getprivate_fast(void)