aboutsummaryrefslogtreecommitdiff
path: root/target/alpha/cpu.c
diff options
context:
space:
mode:
authorRichard Henderson <richard.henderson@linaro.org>2021-07-23 12:20:55 -1000
committerRichard Henderson <richard.henderson@linaro.org>2021-11-02 07:00:52 -0400
commite7424abc201ea06ff91a15fd86a533a22cd8dff4 (patch)
treed35abf7874f85105c7d7ae1d8bf6ab492ecf8498 /target/alpha/cpu.c
parent12ed56407e60371d45ffa3b7f2fd00c4d7efa580 (diff)
downloadqemu-e7424abc201ea06ff91a15fd86a533a22cd8dff4.zip
qemu-e7424abc201ea06ff91a15fd86a533a22cd8dff4.tar.gz
qemu-e7424abc201ea06ff91a15fd86a533a22cd8dff4.tar.bz2
target/alpha: Implement alpha_cpu_record_sigbus
Record trap_arg{0,1,2} for the linux-user signal frame. Raise SIGBUS directly from cpu_loop_exit_sigbus, which means we can remove the code for EXCP_UNALIGN in cpu_loop. Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org> Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Diffstat (limited to 'target/alpha/cpu.c')
-rw-r--r--target/alpha/cpu.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/target/alpha/cpu.c b/target/alpha/cpu.c
index 69f32c3..a8990d4 100644
--- a/target/alpha/cpu.c
+++ b/target/alpha/cpu.c
@@ -221,6 +221,7 @@ static const struct TCGCPUOps alpha_tcg_ops = {
#ifdef CONFIG_USER_ONLY
.record_sigsegv = alpha_cpu_record_sigsegv,
+ .record_sigbus = alpha_cpu_record_sigbus,
#else
.tlb_fill = alpha_cpu_tlb_fill,
.cpu_exec_interrupt = alpha_cpu_exec_interrupt,