summaryrefslogtreecommitdiffstats
path: root/bsd-user/freebsd/target_os_signal.h
diff options
context:
space:
mode:
authorWarner Losh2022-01-19 19:46:05 +0100
committerWarner Losh2022-01-28 23:52:38 +0100
commit2373a62ae9600aef57923fdba0518e916cc8d28c (patch)
tree848b37ec8653de4e3af554df9fb386c243e83f12 /bsd-user/freebsd/target_os_signal.h
parentbsd-user: Complete FreeBSD siginfo (diff)
downloadqemu-2373a62ae9600aef57923fdba0518e916cc8d28c.tar.gz
qemu-2373a62ae9600aef57923fdba0518e916cc8d28c.tar.xz
qemu-2373a62ae9600aef57923fdba0518e916cc8d28c.zip
bsd-user: Create setup_sigframe_arch to setup sigframe context
Define setup_sigframe_arch whose job it is to setup the mcontext for the sigframe. Implement for x86 to just call mcontext. Signed-off-by: Warner Losh <imp@bsdimp.com> Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Diffstat (limited to 'bsd-user/freebsd/target_os_signal.h')
-rw-r--r--bsd-user/freebsd/target_os_signal.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/bsd-user/freebsd/target_os_signal.h b/bsd-user/freebsd/target_os_signal.h
index 3ed454e086..43700d08f7 100644
--- a/bsd-user/freebsd/target_os_signal.h
+++ b/bsd-user/freebsd/target_os_signal.h
@@ -4,6 +4,9 @@
#include "target_os_siginfo.h"
#include "target_arch_signal.h"
+abi_long setup_sigframe_arch(CPUArchState *env, abi_ulong frame_addr,
+ struct target_sigframe *frame, int flags);
+
/* Compare to sys/signal.h */
#define TARGET_SIGHUP 1 /* hangup */
#define TARGET_SIGINT 2 /* interrupt */