summary refs log tree commit diff stats
path: root/bsd-user/i386/target_arch_signal.h (follow)
Commit message (Collapse)AuthorAgeFilesLines
* bsd-user/target_os_signal.h: Move signal prototypes to target_os_ucontext.hWarner Losh2022-01-071-9/+0
| | | | | | | | Switch to the CPUArchState typedef and move target-provided prototypes to target_os_ucontext.h. Signed-off-by: Warner Losh <imp@bsdimp.com> Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
* bsd-user/i386: Move the inlines into signal.cWarner Losh2022-01-071-35/+8
| | | | | | | Move the (now stubbed out) inlines into bsd-user/i386/signal.c. Signed-off-by: Warner Losh <imp@bsdimp.com> Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
* bsd-user/i386/target_arch_signal.h: Update mcontext_t to match FreeBSDWarner Losh2022-01-071-0/+46
| | | | | | | | Fill in target_mcontext_t to match the FreeBSD mcontex_t. Also tag the current size of mcontext and ucontext to enable size checking for i386. Signed-off-by: Warner Losh <imp@bsdimp.com> Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
* bsd-user/i386/target_arch_signal.h: use new target_os_ucontext.hWarner Losh2022-01-071-8/+1
| | | | | Signed-off-by: Warner Losh <imp@bsdimp.com> Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
* bsd-user/i386/target_arch_signal.h: Remove target_sigcontextWarner Losh2022-01-071-4/+0
| | | | | | | | In FreeBSD, sigcontext was retired in favor of ucontext/mcontext. Remove vestigial target_sigcontext. Signed-off-by: Warner Losh <imp@bsdimp.com> Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
* bsd-user: move TARGET_MC_GET_CLEAR_RET to target_os_signal.hWarner Losh2021-10-181-2/+0
| | | | | | | | | | Move TARGET_MC_GET_CLEAR_RET to freebsd/target_os_signal.h since it's architecture agnostic on FreeBSD. Signed-off-by: Warner Losh <imp@bsdimp.com> Reviewed-by: Richard Henderson <richard.henderson@linaro.org> Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org> Reviewed-by: Kyle Evans <kevans@FreeBSD.org>
* bsd-user: *BSD specific siginfo defintionsWarner Losh2021-09-101-0/+94
Add FreeBSD, NetBSD and OpenBSD values for the various signal info types and defines to decode different signals to discover more information about the specific signal types. Signed-off-by: Stacey Son <sson@FreeBSD.org> Signed-off-by: Warner Losh <imp@bsdimp.com> Acked-by: Richard Henderson <richard.henderson@linaro.org> Reviewed-by: Kyle Evans <kevans@FreeBSD.org>