qemu-cr16/target/sparc
Julian Ganz 8a315a788a target/sparc: call plugin trap callbacks
We recently introduced API for registering callbacks for trap related
events as well as the corresponding hook functions. Due to differences
between architectures, the latter need to be called from target specific
code.

This change places hooks for SPARC (32bit and 64bit) targets. We treat
any interrupt other than EXTINT and IVEC as exceptions as they appear to
be synchroneous events.

Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Signed-off-by: Julian Ganz <neither@nut.email>
Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Message-ID: <20251027110344.2289945-27-alex.bennee@linaro.org>
Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
2025-10-29 14:12:43 +00:00
..
asi.h target/sparc: Implement monitor ASIs 2024-06-05 09:11:17 -07:00
cpu-feature.h.inc target/sparc: Add feature bit for VIS4 2024-06-05 09:08:39 -07:00
cpu-param.h tcg: Remove the TCG_GUEST_DEFAULT_MO definition globally 2025-04-23 15:07:32 -07:00
cpu-qom.h target: Move ArchCPUClass definition to 'cpu.h' 2023-11-07 13:08:48 +01:00
cpu.c add cpu_test_interrupt()/cpu_set_interrupt() helpers and use them tree wide 2025-08-29 12:48:14 +02:00
cpu.h target/sparc: Reduce inclusions of 'exec/cpu-common.h' 2025-10-16 17:07:52 +02:00
fop_helper.c target/sparc: don't set FSR_NVA when comparing unordered floats 2025-05-27 20:09:13 +01:00
gdbstub.c target/sparc: Fix gdbstub incorrectly handling registers f32-f62 2025-02-18 08:29:03 -08:00
helper.c target/sparc: Reduce inclusions of 'exec/cpu-common.h' 2025-10-16 17:07:52 +02:00
helper.h target/sparc: Use float*_muladd_scalbn 2024-12-24 08:32:15 -08:00
insns.decode target/sparc: Loosen decode of RDTBR for v7 2025-09-23 16:51:21 -07:00
int32_helper.c target/sparc: call plugin trap callbacks 2025-10-29 14:12:43 +00:00
int64_helper.c target/sparc: call plugin trap callbacks 2025-10-29 14:12:43 +00:00
Kconfig meson: Introduce target-specific Kconfig 2021-07-09 18:21:34 +02:00
ldst_helper.c include: Remove 'exec/exec-all.h' 2025-04-30 12:45:05 -07:00
machine.c include: Remove 'exec/exec-all.h' 2025-04-30 12:45:05 -07:00
meson.build target/sparc: Remove CC_OP leftovers 2023-11-05 12:03:17 -08:00
mmu_helper.c exec/cpu-all: remove exec/target_page include 2025-04-23 15:04:57 -07:00
monitor.c target/sparc: Handle FPRS correctly on big-endian hosts 2023-07-25 14:42:00 +02:00
trace-events docs: fix references to docs/devel/tracing.rst 2021-06-02 06:51:09 +02:00
trace.h trace: switch position of headers to what Meson requires 2020-08-21 06:18:24 -04:00
translate.c accel/tcg: Name gen_goto_tb()'s TB slot index as @tb_slot_idx 2025-10-16 10:33:33 +02:00
translate.h target/sparc: Move sparc_restore_state_to_opc() to cpu.c 2024-12-20 17:44:57 +01:00
vis_helper.c target/sparc: Implement VIS4 comparisons 2024-06-05 09:09:36 -07:00
win_helper.c include: Remove 'exec/exec-all.h' 2025-04-30 12:45:05 -07:00