Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/arch/ia64/include Add a dummy implementation of _UC_MACH...



details:   https://anonhg.NetBSD.org/src/rev/5405a172ceda
branches:  trunk
changeset: 359858:5405a172ceda
user:      kamil <kamil%NetBSD.org@localhost>
date:      Tue Feb 27 09:51:28 2018 +0000

description:
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.

diffstat:

 sys/arch/ia64/include/mcontext.h |  3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diffs (17 lines):

diff -r 549fccb3ddc4 -r 5405a172ceda sys/arch/ia64/include/mcontext.h
--- a/sys/arch/ia64/include/mcontext.h  Tue Feb 27 08:05:19 2018 +0000
+++ b/sys/arch/ia64/include/mcontext.h  Tue Feb 27 09:51:28 2018 +0000
@@ -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 @@
 #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)



Home | Main Index | Thread Index | Old Index