Re: [PATCH 07/24] bsd-user/arm/target_arch_cpu.h: Implment trivial EXCP exceptions

2021-10-28 Thread Richard Henderson
On 10/19/21 9:44 AM, Warner Losh wrote: +case EXCP_DEBUG: +{ + +info.si_signo = TARGET_SIGTRAP; +info.si_errno = 0; +info.si_code = TARGET_TRAP_BRKPT; +queue_signal(env, info.si_signo, &info); +} Usu

Re: [PATCH 07/24] bsd-user/arm/target_arch_cpu.h: Implment trivial EXCP exceptions

2021-10-25 Thread Kyle Evans
On Tue, Oct 19, 2021 at 11:45 AM Warner Losh wrote: > > Implent EXCP_UDEF, EXCP_DEBUG, EXCP_INTERRUPT, EXCP_ATOMIC and s/Implent/Implement/ > EXCP_YIELD. The first two generate a signal to the emulated > binary. EXCP_ATOMIC handles atomic operations. The remainder are fancy > nops. > > Signed-of

[PATCH 07/24] bsd-user/arm/target_arch_cpu.h: Implment trivial EXCP exceptions

2021-10-19 Thread Warner Losh
Implent EXCP_UDEF, EXCP_DEBUG, EXCP_INTERRUPT, EXCP_ATOMIC and EXCP_YIELD. The first two generate a signal to the emulated binary. EXCP_ATOMIC handles atomic operations. The remainder are fancy nops. Signed-off-by: Stacey Son Signed-off-by: Mikaƫl Urankar Signed-off-by: Klye Evans Signed-off-by