Re: [PATCH 23/24] bsd-user/arm/target_arch_signal.h: arm get_ucontext_sigreturn

2021-10-28 Thread Richard Henderson
On 10/19/21 9:44 AM, Warner Losh wrote: +/* Compare to arm/arm/machdep.c sys_sigreturn() */ +static inline abi_long get_ucontext_sigreturn(CPUARMState *regs, +abi_ulong target_sf, abi_ulong *target_uc) +{ +uint32_t cpsr = cpsr_read(regs); + +*target_uc = 0; + +if ((cpsr &

Re: [PATCH 23/24] bsd-user/arm/target_arch_signal.h: arm get_ucontext_sigreturn

2021-10-26 Thread Kyle Evans
On Tue, Oct 19, 2021 at 11:45 AM Warner Losh wrote: > > Update ucontext to implement sigreturn. > > Signed-off-by: Stacey Son > Signed-off-by: Warner Losh > --- > bsd-user/arm/target_arch_signal.h | 18 ++ > 1 file changed, 18 insertions(+) > > diff --git

[PATCH 23/24] bsd-user/arm/target_arch_signal.h: arm get_ucontext_sigreturn

2021-10-19 Thread Warner Losh
Update ucontext to implement sigreturn. Signed-off-by: Stacey Son Signed-off-by: Warner Losh --- bsd-user/arm/target_arch_signal.h | 18 ++ 1 file changed, 18 insertions(+) diff --git a/bsd-user/arm/target_arch_signal.h b/bsd-user/arm/target_arch_signal.h index