mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-01 23:03:54 -06:00
bsd-user/arm/signal.c: arm get_ucontext_sigreturn
Update ucontext to implement sigreturn. Signed-off-by: Stacey Son <sson@FreeBSD.org> Signed-off-by: Warner Losh <imp@bsdimp.com> Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
This commit is contained in:
parent
d6d4509a9f
commit
3ac34cc985
1 changed files with 9 additions and 0 deletions
|
@ -185,3 +185,12 @@ abi_long set_mcontext(CPUARMState *env, target_mcontext_t *mcp, int srflag)
|
|||
|
||||
return err;
|
||||
}
|
||||
|
||||
/* Compare to arm/arm/machdep.c sys_sigreturn() */
|
||||
abi_long get_ucontext_sigreturn(CPUARMState *env, abi_ulong target_sf,
|
||||
abi_ulong *target_uc)
|
||||
{
|
||||
*target_uc = target_sf;
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue