1 /* $NetBSD: signal.h,v 1.4 2021/11/05 15:18:18 thorpej Exp $ */ 2 3 #ifndef _AARCH64_SIGNAL_H_ 4 #define _AARCH64_SIGNAL_H_ 5 6 #include <arm/signal.h> 7 8 #ifdef _KERNEL 9 /* 10 * Normally, to support COMPAT_NETBSD32 we need to define 11 * __HAVE_STRUCT_SIGCONTEXT in order to support the old 12 * "sigcontext" style of handlers for 32-bit binaries. 13 * However, we only support 32-bit EABI binaries on AArch64, 14 * and by happy accident (due to a libc bug introduced in 15 * 2006), 32-bit NetBSD EABI binaries never used "sigcontext" 16 * style handlers. So, we don't need to carry any of this 17 * baggage forward. 18 */ 19 #endif /* _KERNEL */ 20 21 #endif /* ! _AARCH64_SIGNAL_H_ */ 22