Source-Changes-HG archive

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

[src/pgoyette-compat]: src/sys/arch/mips/mips Define the netbsd32_sendsig_hoo...



details:   https://anonhg.NetBSD.org/src/rev/b491e7f991c0
branches:  pgoyette-compat
changeset: 830834:b491e7f991c0
user:      pgoyette <pgoyette%NetBSD.org@localhost>
date:      Sat Sep 29 08:38:45 2018 +0000

description:
Define the netbsd32_sendsig_hook and create its accessor function.

diffstat:

 sys/arch/mips/mips/netbsd32_machdep.c |  13 +++++++++++--
 1 files changed, 11 insertions(+), 2 deletions(-)

diffs (34 lines):

diff -r 7cad50d3a845 -r b491e7f991c0 sys/arch/mips/mips/netbsd32_machdep.c
--- a/sys/arch/mips/mips/netbsd32_machdep.c     Sat Sep 29 08:25:36 2018 +0000
+++ b/sys/arch/mips/mips/netbsd32_machdep.c     Sat Sep 29 08:38:45 2018 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: netbsd32_machdep.c,v 1.15.2.3 2018/09/29 08:25:36 pgoyette Exp $       */
+/*     $NetBSD: netbsd32_machdep.c,v 1.15.2.4 2018/09/29 08:38:45 pgoyette Exp $       */
 
 /*-
  * Copyright (c) 2009 The NetBSD Foundation, Inc.
@@ -30,7 +30,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: netbsd32_machdep.c,v 1.15.2.3 2018/09/29 08:25:36 pgoyette Exp $");
+__KERNEL_RCSID(0, "$NetBSD: netbsd32_machdep.c,v 1.15.2.4 2018/09/29 08:38:45 pgoyette Exp $");
 
 #include "opt_compat_netbsd.h"
 #include "opt_coredump.h"
@@ -227,6 +227,15 @@
 }
 #endif
 
+struct netbsd32_sendsig_hook_t netbsd32_sendsig_hook;
+ 
+MODULE_CALL_HOOK_DECL(netbsd32_sendsig_hook, f,
+    (const ksiginfo_t *ksi, const sigset_t *mask), (ksi, mask),
+    netbsd32_sendsig_siginfo(ksi, mask));
+MODULE_CALL_HOOK(netbsd32_sendsig_hook, f,
+    (const ksiginfo_t *ksi, const sigset_t *mask), (ksi, mask),  
+    netbsd32_sendsig_siginfo(ksi, mask));
+
 void
 netbsd32_sendsig(const ksiginfo_t *ksi, const sigset_t *mask)
 {



Home | Main Index | Thread Index | Old Index