qemu-cr16/target/openrisc
Julian Ganz cbf0e6e3dc target/openrisc: 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 OpenRISC targets. We treat anything other
than resets, timer and device interrupts as exceptions.

Signed-off-by: Julian Ganz <neither@nut.email>
Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Message-ID: <20251027110344.2289945-21-alex.bennee@linaro.org>
Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
2025-10-29 14:12:43 +00: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/openrisc: Replace target_ulong -> uint32_t 2025-10-16 17:07:28 +02:00
disas.c meson: target 2020-08-21 06:30:35 -04:00
exception.c include: Remove 'exec/exec-all.h' 2025-04-30 12:45:05 -07:00
exception.h compiler.h: replace QEMU_NORETURN with G_NORETURN 2022-04-21 17:03:51 +04:00
exception_helper.c include: Remove 'exec/exec-all.h' 2025-04-30 12:45:05 -07:00
fpu_helper.c target/openrisc: Replace target_ulong -> uint32_t 2025-10-16 17:07:28 +02:00
gdbstub.c gdbstub: Clarify no more than @gdb_num_core_regs can be accessed 2025-03-06 15:46:17 +01:00
helper.h target/openrisc: Replace target_ulong -> uint32_t 2025-10-16 17:07:28 +02:00
insns.decode target/openrisc: Implement l.adrp 2019-09-04 12:59:00 -07:00
interrupt.c target/openrisc: call plugin trap callbacks 2025-10-29 14:12:43 +00:00
interrupt_helper.c include: Remove 'exec/exec-all.h' 2025-04-30 12:45:05 -07:00
Kconfig kconfig: express dependency of individual boards on libfdt 2024-05-10 15:45:15 +02:00
machine.c target/openrisc: Replace target_ulong -> uint32_t 2025-10-16 17:07:28 +02:00
meson.build meson: Rename target_softmmu_arch -> target_system_arch 2023-10-07 19:03:07 +02:00
mmu.c target/openrisc: Remove target_ulong use in raise_mmu_exception() 2025-10-16 17:07:27 +02:00
sys_helper.c target/openrisc: Replace target_ulong -> uint32_t 2025-10-16 17:07:28 +02:00
translate.c target/openrisc: Replace target_ulong -> uint32_t 2025-10-16 17:07:28 +02:00