Re: [PATCH v5 34/37] bsd-user/arm/signal.c: arm set_mcontext

2021-11-08 Thread Richard Henderson
On 11/8/21 4:51 AM, Warner Losh wrote: +env->regs[15] = tswap32(gr[TARGET_REG_PC] & ~mask); Oops, one more buglet: the mask should be outside the tswap. Otherwise, Reviewed-by: Richard Henderson r~

[PATCH v5 34/37] bsd-user/arm/signal.c: arm set_mcontext

2021-11-07 Thread Warner Losh
Move the machine context to the CPU state. Signed-off-by: Stacey Son Signed-off-by: Kyle Evans Signed-off-by: Warner Losh --- bsd-user/arm/signal.c | 76 +++ 1 file changed, 76 insertions(+) diff --git a/bsd-user/arm/signal.c b/bsd-user/arm/signal.c ind