Module Name: src
Committed By: kamil
Date: Tue Feb 27 09:51:28 UTC 2018
Modified Files:
src/sys/arch/ia64/include: mcontext.h
Log Message:
Add a dummy implementation of _UC_MACHINE_INTRV() for ia64
This fixes a build problem in src/tests/lib/libc/sys/t_ucontext.c.
This needs to be revisited once the port will get more mature.
To generate a diff of this commit:
cvs rdiff -u -r1.6 -r1.7 src/sys/arch/ia64/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/ia64/include/mcontext.h
diff -u src/sys/arch/ia64/include/mcontext.h:1.6 src/sys/arch/ia64/include/mcontext.h:1.7
--- src/sys/arch/ia64/include/mcontext.h:1.6 Thu Feb 15 15:53:56 2018
+++ src/sys/arch/ia64/include/mcontext.h Tue Feb 27 09:51:28 2018
@@ -1,4 +1,4 @@
-/* $NetBSD: mcontext.h,v 1.6 2018/02/15 15:53:56 kamil Exp $ */
+/* $NetBSD: mcontext.h,v 1.7 2018/02/27 09:51:28 kamil Exp $ */
/*-
* Copyright (c) 1999 The NetBSD Foundation, Inc.
@@ -115,6 +115,7 @@ typedef struct __mcontext {
#define _UC_MACHINE_FP(uc) ((uc)->uc_mcontext.__gregs[79])
/* XXX or assembly "mov Rn = ip" or ...? */
#define _UC_MACHINE_PC(uc) ((uc)->uc_mcontext.mc_special.iip)
+#define _UC_MACHINE_INTRV(uc) 0 /* XXX */
static __inline void *
__lwp_getprivate_fast(void)