1 /*	$NetBSD: sig32_machdep.c,v 1.1 2015/03/28 16:13:56 matt Exp $	*/
2 
3 #include <sys/cdefs.h>
4 __KERNEL_RCSID(0, "$NetBSD: sig32_machdep.c,v 1.1 2015/03/28 16:13:56 matt Exp $");
5 
6 #define	COMPATNAME1(x)		__CONCAT(netbsd32_,x)
7 #define	COMPATNAME2(x)		__CONCAT(x,32)
8 #define	COMPATTYPE(x)		__CONCAT(x,32_t)
9 #define	COMPATINC		<compat/netbsd32/netbsd32.h>
10 #define	UCLINK_SET(uc,c)	((uc)->uc_link = (uint32_t)(intptr_t)(c))
11 #define	sendsig_siginfo		netbsd32_sendsig
12 
13 #define	COPY_SIGINFO(d,s)	do { \
14 		siginfo_t si = { ._info = (s)->ksi_info, }; \
15 		netbsd32_si_to_si32(&(d)->sf_si, &si); \
16 	} while (/*CONSTCOND*/ 0)
17 
18 #include "sig_machdep.c"
19