diff --git a/sys/arch/m68k/include/frame.h b/sys/arch/m68k/include/frame.h index 00cc5c07c27d..42ba2e979155 100644 --- a/sys/arch/m68k/include/frame.h +++ b/sys/arch/m68k/include/frame.h @@ -1,4 +1,4 @@ -/* $NetBSD: frame.h,v 1.22 2003/09/23 11:33:50 cl Exp $ */ +/* $NetBSD: frame.h,v 1.23 2003/09/25 22:04:17 christos Exp $ */ /* * Copyright (c) 1982, 1990, 1993 @@ -252,7 +252,7 @@ extern struct fpframe m68k_cached_fpu_idle_frame; void *getframe(struct lwp *, int, int *); void buildcontext(struct lwp *, void *, void *); #ifdef COMPAT_16 -void sendsig_sigcontext(ksiginfo_t *, sigset_t *); +void sendsig_sigcontext(const ksiginfo_t *, const sigset_t *); #endif #endif /* _KERNEL */ diff --git a/sys/arch/m68k/m68k/compat_16_machdep.c b/sys/arch/m68k/m68k/compat_16_machdep.c index c3497a03557a..3ca190157586 100644 --- a/sys/arch/m68k/m68k/compat_16_machdep.c +++ b/sys/arch/m68k/m68k/compat_16_machdep.c @@ -1,4 +1,4 @@ -/* $NetBSD: compat_16_machdep.c,v 1.1 2003/09/22 14:18:39 cl Exp $ */ +/* $NetBSD: compat_16_machdep.c,v 1.2 2003/09/25 22:04:17 christos Exp $ */ /* * Copyright (c) 1982, 1986, 1990, 1993 @@ -75,7 +75,7 @@ */ #include -__KERNEL_RCSID(0, "$NetBSD: compat_16_machdep.c,v 1.1 2003/09/22 14:18:39 cl Exp $"); +__KERNEL_RCSID(0, "$NetBSD: compat_16_machdep.c,v 1.2 2003/09/25 22:04:17 christos Exp $"); #include "opt_compat_netbsd.h" @@ -118,7 +118,7 @@ extern int sigpid; * Send an interrupt to process. */ void -sendsig_sigcontext(ksiginfo_t *ksi, sigset_t *mask) +sendsig_sigcontext(const ksiginfo_t *ksi, const sigset_t *mask) { struct lwp *l = curlwp; struct proc *p = l->l_proc; diff --git a/sys/arch/m68k/m68k/linux_trap.c b/sys/arch/m68k/m68k/linux_trap.c index e18050bfb1bf..a6ab7fb25d7c 100644 --- a/sys/arch/m68k/m68k/linux_trap.c +++ b/sys/arch/m68k/m68k/linux_trap.c @@ -1,4 +1,4 @@ -/* $NetBSD: linux_trap.c,v 1.4 2003/09/22 14:36:42 cl Exp $ */ +/* $NetBSD: linux_trap.c,v 1.5 2003/09/25 22:04:17 christos Exp $ */ /*- * Copyright (c) 2001 The NetBSD Foundation, Inc. @@ -37,7 +37,7 @@ */ #include -__KERNEL_RCSID(0, "$NetBSD: linux_trap.c,v 1.4 2003/09/22 14:36:42 cl Exp $"); +__KERNEL_RCSID(0, "$NetBSD: linux_trap.c,v 1.5 2003/09/25 22:04:17 christos Exp $"); #include #include @@ -51,6 +51,6 @@ __KERNEL_RCSID(0, "$NetBSD: linux_trap.c,v 1.4 2003/09/22 14:36:42 cl Exp $"); #include void -linux_trapsignal(struct lwp *l, ksiginfo_t *ksi) { +linux_trapsignal(struct lwp *l, const ksiginfo_t *ksi) { trapsignal(l, ksi); } diff --git a/sys/arch/m68k/m68k/sig_machdep.c b/sys/arch/m68k/m68k/sig_machdep.c index ef534bee755d..3f67722eb096 100644 --- a/sys/arch/m68k/m68k/sig_machdep.c +++ b/sys/arch/m68k/m68k/sig_machdep.c @@ -1,4 +1,4 @@ -/* $NetBSD: sig_machdep.c,v 1.22 2003/09/22 14:18:42 cl Exp $ */ +/* $NetBSD: sig_machdep.c,v 1.23 2003/09/25 22:04:17 christos Exp $ */ /* * Copyright (c) 1982, 1986, 1990, 1993 @@ -75,7 +75,7 @@ */ #include -__KERNEL_RCSID(0, "$NetBSD: sig_machdep.c,v 1.22 2003/09/22 14:18:42 cl Exp $"); +__KERNEL_RCSID(0, "$NetBSD: sig_machdep.c,v 1.23 2003/09/25 22:04:17 christos Exp $"); #include "opt_compat_netbsd.h" @@ -173,7 +173,7 @@ buildcontext(struct lwp *l, void *catcher, void *fp) } static void -sendsig_siginfo(ksiginfo_t *ksi, sigset_t *mask) +sendsig_siginfo(const ksiginfo_t *ksi, const sigset_t *mask) { struct lwp *l = curlwp; struct proc *p = l->l_proc; @@ -227,7 +227,7 @@ sendsig_siginfo(ksiginfo_t *ksi, sigset_t *mask) } void -sendsig(ksiginfo_t *ksi, sigset_t *mask) +sendsig(const ksiginfo_t *ksi, const sigset_t *mask) { #ifdef COMPAT_16 if (curproc->p_sigacts->sa_sigdesc[ksi->ksi_signo].sd_vers < 2) diff --git a/sys/arch/m68k/m68k/sunos_machdep.c b/sys/arch/m68k/m68k/sunos_machdep.c index 24ac57b60cf7..fba53be09a0e 100644 --- a/sys/arch/m68k/m68k/sunos_machdep.c +++ b/sys/arch/m68k/m68k/sunos_machdep.c @@ -1,4 +1,4 @@ -/* $NetBSD: sunos_machdep.c,v 1.25 2003/09/22 14:34:57 cl Exp $ */ +/* $NetBSD: sunos_machdep.c,v 1.26 2003/09/25 22:04:17 christos Exp $ */ /* * Copyright (c) 1982, 1986, 1990 The Regents of the University of California. @@ -77,7 +77,7 @@ */ #include -__KERNEL_RCSID(0, "$NetBSD: sunos_machdep.c,v 1.25 2003/09/22 14:34:57 cl Exp $"); +__KERNEL_RCSID(0, "$NetBSD: sunos_machdep.c,v 1.26 2003/09/25 22:04:17 christos Exp $"); #include #include @@ -132,7 +132,7 @@ struct sunos_sigframe { * SIG_DFL for "dangerous" signals. */ void -sunos_sendsig(ksiginfo_t *ksi, sigset_t *mask) +sunos_sendsig(const ksiginfo_t *ksi, const sigset_t *mask) { u_long code = ksi->ksi_trap; int sig = ksi->ksi_signo; diff --git a/sys/arch/m68k/m68k/svr4_machdep.c b/sys/arch/m68k/m68k/svr4_machdep.c index 7182896e20c9..67e2ac33cace 100644 --- a/sys/arch/m68k/m68k/svr4_machdep.c +++ b/sys/arch/m68k/m68k/svr4_machdep.c @@ -1,4 +1,4 @@ -/* $NetBSD: svr4_machdep.c,v 1.13 2003/09/22 14:47:35 cl Exp $ */ +/* $NetBSD: svr4_machdep.c,v 1.14 2003/09/25 22:04:17 christos Exp $ */ /*- * Copyright (c) 1999 The NetBSD Foundation, Inc. @@ -37,7 +37,7 @@ */ #include -__KERNEL_RCSID(0, "$NetBSD: svr4_machdep.c,v 1.13 2003/09/22 14:47:35 cl Exp $"); +__KERNEL_RCSID(0, "$NetBSD: svr4_machdep.c,v 1.14 2003/09/25 22:04:17 christos Exp $"); #include #include @@ -248,7 +248,7 @@ svr4_getsiginfo(sip, sig, code, addr) } void -svr4_sendsig(ksiginfo_t *ksi, sigset_t *mask) +svr4_sendsig(const ksiginfo_t *ksi, const sigset_t *mask) { u_long code = ksi->ksi_trap; int sig = ksi->ksi_signo; diff --git a/sys/arch/powerpc/powerpc/sig_machdep.c b/sys/arch/powerpc/powerpc/sig_machdep.c index 25b980c05741..ea2002e431a1 100644 --- a/sys/arch/powerpc/powerpc/sig_machdep.c +++ b/sys/arch/powerpc/powerpc/sig_machdep.c @@ -1,4 +1,4 @@ -/* $NetBSD: sig_machdep.c,v 1.14 2003/09/25 21:59:55 matt Exp $ */ +/* $NetBSD: sig_machdep.c,v 1.15 2003/09/25 22:04:17 christos Exp $ */ /* * Copyright (C) 1995, 1996 Wolfgang Solfrank. @@ -32,7 +32,7 @@ */ #include -__KERNEL_RCSID(0, "$NetBSD: sig_machdep.c,v 1.14 2003/09/25 21:59:55 matt Exp $"); +__KERNEL_RCSID(0, "$NetBSD: sig_machdep.c,v 1.15 2003/09/25 22:04:17 christos Exp $"); #include "opt_compat_netbsd.h" #include "opt_ppcarch.h" @@ -53,7 +53,7 @@ __KERNEL_RCSID(0, "$NetBSD: sig_machdep.c,v 1.14 2003/09/25 21:59:55 matt Exp $" * Send a signal to process. */ void -sendsig(ksiginfo_t *ksi, sigset_t *mask) +sendsig(const ksiginfo_t *ksi, const sigset_t *mask) { struct lwp * const l = curlwp; struct proc * const p = l->l_proc;