linux-user: Add cpu_loop_exit_sigbus
commit12ed56407e60371d45ffa3b7f2fd00c4d7efa580
authorRichard Henderson <richard.henderson@linaro.org>
Mon, 4 Oct 2021 17:06:10 +0000 (4 10:06 -0700)
committerRichard Henderson <richard.henderson@linaro.org>
Tue, 2 Nov 2021 11:00:52 +0000 (2 07:00 -0400)
treec326b99af2e21200b19fc92cc8fd35391fcfde8b
parent644a9fece426d52cf8fb51e24e003dd4c590c5cc
linux-user: Add cpu_loop_exit_sigbus

This is a new interface to be provided by the os emulator for
raising SIGBUS on fault.  Use the new record_sigbus target hook.

Reviewed-by: Warner Losh <imp@bsdimp.com>
Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
include/exec/exec-all.h
linux-user/signal.c