mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-02 07:13:54 -06:00
bsd-user/target_os_signal.h: Move signal prototypes to target_os_ucontext.h
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>
This commit is contained in:
parent
1b4e358a61
commit
108fffe536
3 changed files with 11 additions and 18 deletions
|
@ -32,4 +32,15 @@ G_STATIC_ASSERT(TARGET_MCONTEXT_SIZE == sizeof(target_mcontext_t));
|
|||
G_STATIC_ASSERT(TARGET_UCONTEXT_SIZE == sizeof(target_ucontext_t));
|
||||
#endif /* TARGET_MCONTEXT_SIZE */
|
||||
|
||||
struct target_sigframe;
|
||||
|
||||
abi_long set_sigtramp_args(CPUArchState *env, int sig,
|
||||
struct target_sigframe *frame,
|
||||
abi_ulong frame_addr,
|
||||
struct target_sigaction *ka);
|
||||
abi_long get_mcontext(CPUArchState *regs, target_mcontext_t *mcp, int flags);
|
||||
abi_long set_mcontext(CPUArchState *regs, target_mcontext_t *mcp, int srflag);
|
||||
abi_long get_ucontext_sigreturn(CPUArchState *regs, abi_ulong target_sf,
|
||||
abi_ulong *target_uc);
|
||||
|
||||
#endif /* TARGET_OS_UCONTEXT_H */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue