mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-12-18 05:28:36 -07:00
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>
This commit is contained in:
parent
4550c661bf
commit
2373a62ae9
3 changed files with 29 additions and 0 deletions
|
|
@ -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 */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue