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.
This commit is contained in:
parent
215e1b4181
commit
65d22cea25
|
@ -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.
|
* Copyright (c) 1999 The NetBSD Foundation, Inc.
|
||||||
|
@ -115,6 +115,7 @@ typedef struct __mcontext {
|
||||||
#define _UC_MACHINE_FP(uc) ((uc)->uc_mcontext.__gregs[79])
|
#define _UC_MACHINE_FP(uc) ((uc)->uc_mcontext.__gregs[79])
|
||||||
/* XXX or assembly "mov Rn = ip" or ...? */
|
/* XXX or assembly "mov Rn = ip" or ...? */
|
||||||
#define _UC_MACHINE_PC(uc) ((uc)->uc_mcontext.mc_special.iip)
|
#define _UC_MACHINE_PC(uc) ((uc)->uc_mcontext.mc_special.iip)
|
||||||
|
#define _UC_MACHINE_INTRV(uc) 0 /* XXX */
|
||||||
|
|
||||||
static __inline void *
|
static __inline void *
|
||||||
__lwp_getprivate_fast(void)
|
__lwp_getprivate_fast(void)
|
||||||
|
|
Loading…
Reference in New Issue