Home
last modified time | relevance | path

Searched refs:catcher (Results 1 – 25 of 73) sorted by relevance

123

/netbsd-src/sys/arch/mips/mips/
H A Dsig_machdep.c84 const sig_t catcher = SIGACTION(p, signo).sa_handler; in sendsig_siginfo() local
119 tf->tf_regs[_R_PC] = (intptr_t)catcher; in sendsig_siginfo()
120 tf->tf_regs[_R_T9] = (intptr_t)catcher; in sendsig_siginfo()
H A Dcompat_16_machdep.c102 sig_t catcher = SIGACTION(p, sig).sa_handler; in sendsig_sigcontext() local
188 tf->tf_regs[_R_A3] = (intptr_t)catcher; /* XXX ??? */ in sendsig_sigcontext()
190 tf->tf_regs[_R_PC] = (intptr_t)catcher; in sendsig_sigcontext()
191 tf->tf_regs[_R_T9] = (intptr_t)catcher; in sendsig_sigcontext()
H A Dnetbsd32_machdep.c101 sig_t catcher = SIGACTION(p, sig).sa_handler; in netbsd32_sendsig_siginfo() local
153 tf->tf_regs[_R_PC] = (intptr_t)catcher; in netbsd32_sendsig_siginfo()
154 tf->tf_regs[_R_T9] = (intptr_t)catcher; in netbsd32_sendsig_siginfo()
/netbsd-src/sys/arch/powerpc/powerpc/
H A Dcompat_16_machdep.c101 sig_t catcher = SIGACTION(p, sig).sa_handler; in sendsig_sigcontext() local
180 tf->tf_lr = (register_t)catcher; in sendsig_sigcontext()
190 tf->tf_lr = (register_t)catcher; in sendsig_sigcontext()
/netbsd-src/sys/arch/alpha/alpha/
H A Dcompat_16_machdep.c112 sig_t catcher = SIGACTION(p, sig).sa_handler; in sendsig_sigcontext() local
196 buildcontext(l,(void *)catcher, in sendsig_sigcontext()
202 buildcontext(l,(void *)catcher, in sendsig_sigcontext()
/netbsd-src/sys/arch/arm/arm/
H A Dcompat_16_machdep.c93 sig_t catcher = SIGACTION(p, sig).sa_handler; in sendsig_sigcontext() local
167 tf->tf_pc = (int)catcher; in sendsig_sigcontext()
169 if (((int) catcher) & 1) in sendsig_sigcontext()
H A Dsig_machdep.c97 sig_t catcher = SIGACTION(p, sig).sa_handler; in sendsig_siginfo() local
144 tf->tf_pc = (int)catcher; in sendsig_siginfo()
146 if (((int) catcher) & 1) in sendsig_siginfo()
/netbsd-src/sys/arch/sparc64/sparc64/
H A Dsunos_machdep.c92 sig_t catcher = SIGACTION(p, sig).sa_handler; in sunos_sendsig() local
197 addr = (long)catcher; /* user does his own trampolining */ in sunos_sendsig()
204 catcher, (void *)(u_long)addr); in sunos_sendsig()
H A Dnetbsd32_machdep_16.c114 sig_t catcher = SIGACTION(p, sig).sa_handler; in netbsd32_sendsig_sigcontext() local
217 tf->tf_global[1] = (long)catcher; in netbsd32_sendsig_sigcontext()
230 catcher, addr); in netbsd32_sendsig_sigcontext()
H A Dcompat_16_machdep.c99 sig_t catcher = SIGACTION(p, sig).sa_handler; in sendsig_sigcontext() local
224 tf->tf_global[1] = (vaddr_t)catcher; in sendsig_sigcontext()
237 catcher, (void *)(unsigned long)addr); in sendsig_sigcontext()
H A Dsunos32_machdep.c172 sig_t catcher = SIGACTION(p, sig).sa_handler; in sunos32_sendsig() local
282 addr = (uint32_t)(u_long)catcher; /* user does his own trampolining */ in sunos32_sendsig()
290 catcher, (void *)(u_long)addr); in sunos32_sendsig()
/netbsd-src/sys/compat/linux/arch/amd64/
H A Dlinux_machdep.c142 sig_t catcher = SIGACTION(p, sig).sa_handler; in linux_sendsig() local
245 if ((vaddr_t)catcher >= VM_MAXUSER_ADDRESS) { in linux_sendsig()
250 linux_buildcontext(l, catcher, sp); in linux_sendsig()
513 linux_buildcontext(struct lwp *l, void *catcher, void *f) in linux_buildcontext() argument
518 tf->tf_rip = (u_int64_t)catcher; in linux_buildcontext()
/netbsd-src/sys/arch/riscv/riscv/
H A Dsig_machdep.c91 const sig_t catcher = SIGACTION(p, signo).sa_handler; in sendsig_siginfo() local
132 tf->tf_pc = (intptr_t)catcher; in sendsig_siginfo()
/netbsd-src/sys/arch/hppa/hppa/
H A Dsig_machdep.c128 sig_t catcher = SIGACTION(p, sig).sa_handler; in sendsig_siginfo() local
180 tf->tf_arg3 = (__greg_t)catcher; in sendsig_siginfo()
/netbsd-src/sys/arch/m68k/m68k/
H A Dsig_machdep.c137 buildcontext(struct lwp *l, void *catcher, void *fp) in buildcontext() argument
146 frame->f_pc = (int)catcher; in buildcontext()
158 sig_t catcher = SIGACTION(p, sig).sa_handler; in sendsig_siginfo() local
188 buildcontext(l, catcher, fp); in sendsig_siginfo()
H A Dsunos_machdep.c105 sig_t catcher = SIGACTION(p, sig).sa_handler; in sunos_sendsig() local
173 buildcontext(l, catcher, fp); in sunos_sendsig()
/netbsd-src/sys/arch/sparc/sparc/
H A Dsunos_machdep.c79 sig_t catcher = SIGACTION(p, sig).sa_handler; in sunos_sendsig() local
166 addr = (int)catcher; /* user does his own trampolining */ in sunos_sendsig()
/netbsd-src/sys/compat/linux/arch/mips/
H A Dlinux_machdep.c157 sig_t catcher = SIGACTION(p, sig).sa_handler; in linux_sendsig() local
245 tf->tf_regs[_R_T9] = (intptr_t)catcher; in linux_sendsig()
246 tf->tf_regs[_R_PC] = (intptr_t)catcher; in linux_sendsig()
/netbsd-src/sys/compat/linux/arch/powerpc/
H A Dlinux_machdep.c111 sig_t catcher = SIGACTION(p, sig).sa_handler; in linux_sendsig() local
155 sc.lhandler = (unsigned long)catcher; in linux_sendsig()
238 tf->tf_lr = (int)catcher; in linux_sendsig()
/netbsd-src/sys/compat/linux32/arch/amd64/
H A Dlinux32_machdep.c109 sig_t catcher = SIGACTION(p, sig).sa_handler; in linux32_old_sendsig() local
132 NETBSD32PTR32(frame.sf_handler, catcher); in linux32_old_sendsig()
180 sig_t catcher = SIGACTION(p, sig).sa_handler; in linux32_rt_sendsig() local
199 NETBSD32PTR32(frame.sf_handler, catcher); in linux32_rt_sendsig()
/netbsd-src/sys/compat/freebsd/
H A Dfreebsd_machdep.c86 sig_t catcher = SIGACTION(p, sig).sa_handler; in freebsd_sendsig() local
98 frame.sf_handler = catcher; in freebsd_sendsig()
/netbsd-src/usr.sbin/bootp/bootpd/
H A Dbootpd.c108 PRIVATE void catcher(int);
470 if ((long) signal(SIGHUP, catcher) < 0) { in main()
474 if ((long) signal(SIGUSR1, catcher) < 0) { in main()
564 catcher(int sig) in catcher() function
573 signal(sig, catcher); in catcher()
/netbsd-src/sys/arch/amd64/amd64/
H A Dnetbsd32_machdep_16.c90 sig_t catcher = SIGACTION(p, sig).sa_handler; in netbsd32_sendsig_sigcontext() local
169 netbsd32_buildcontext(l, tf, fp, catcher, onstack); in netbsd32_sendsig_sigcontext()
/netbsd-src/sys/arch/i386/i386/
H A Dcompat_16_machdep.c161 sig_t catcher = SIGACTION(p, sig).sa_handler; in sendsig_sigcontext() local
236 buildcontext(l, sel, catcher, fp); in sendsig_sigcontext()
/netbsd-src/sys/arch/sh3/sh3/
H A Dcompat_16_machdep.c101 sig_t catcher = SIGACTION(p, sig).sa_handler; in sendsig_sigcontext() local
174 tf->tf_spc = (int)catcher; in sendsig_sigcontext()

123