qemu-cr16/target/mips/tcg
Julian Ganz c3d7005a6c target/mips: 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 MIPS targets. We consider the exceptions
NMI and EXT_INTERRUPT to be asynchronous interrupts rather than
exceptions.

Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Acked-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Signed-off-by: Julian Ganz <neither@nut.email>
Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Message-ID: <20251027110344.2289945-20-alex.bennee@linaro.org>
Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
2025-10-29 14:12:43 +00:00
..
system target/mips: call plugin trap callbacks 2025-10-29 14:12:43 +00:00
dsp_helper.c cleanup: Tweak and re-run return_directly.cocci 2022-12-14 16:19:35 +01:00
exception.c include: Remove 'exec/exec-all.h' 2025-04-30 12:45:05 -07:00
fpu_helper.c include: Remove 'exec/exec-all.h' 2025-04-30 12:45:05 -07:00
godson2.decode target/mips: Convert Loongson [D]MULT[U].G opcodes to decodetree 2024-11-03 05:52:49 -03:00
lcsr.decode target/mips: Implement Loongson CSR instructions 2023-07-10 23:33:37 +02:00
lcsr_translate.c tcg: Rename cpu_env to tcg_env 2023-10-03 08:01:02 -07:00
ldst_helper.c include: Remove 'exec/exec-all.h' 2025-04-30 12:45:05 -07:00
lmmi_helper.c Replace config-time define HOST_WORDS_BIGENDIAN 2022-04-06 10:50:37 +02:00
loong-ext.decode target/mips: Convert Loongson [D]MULT[U].G opcodes to decodetree 2024-11-03 05:52:49 -03:00
loong_translate.c target/mips: Remove unreachable 32-bit code on 64-bit Loongson Ext 2024-11-03 05:52:49 -03:00
meson.build include: Rename sysemu/ -> system/ 2024-12-20 17:44:56 +01:00
micromips_translate.c.inc target/mips: Have gen_[d]lsa() callers add 1 to shift amount argument 2025-07-15 00:23:09 +02:00
mips16e_translate.c.inc target/mips: Fix MIPS16e translation 2025-04-25 17:00:42 +02:00
msa.decode target/mips: Fix MSA BZ/BNZ opcodes displacement 2023-11-07 12:13:28 +01:00
msa_helper.c include: Remove 'exec/exec-all.h' 2025-04-30 12:45:05 -07:00
msa_helper.h.inc target/mips: Move TCG source files under tcg/ sub directory 2021-05-02 16:49:35 +02:00
msa_translate.c target/mips: Have gen_[d]lsa() callers add 1 to shift amount argument 2025-07-15 00:23:09 +02:00
mxu_translate.c target/mips: Replace MO_TE by mo_endian() 2024-10-15 12:18:09 -03:00
nanomips_translate.c.inc target/mips: Have gen_[d]lsa() callers add 1 to shift amount argument 2025-07-15 00:23:09 +02:00
octeon.decode target/mips: Convert Octeon LX instructions to decodetree 2025-07-15 00:23:09 +02:00
octeon_translate.c target/mips: Convert Octeon LX instructions to decodetree 2025-07-15 00:23:09 +02:00
op_helper.c target/mips: Add support for emulation of CRC32 instructions 2025-07-15 00:07:46 +02:00
rel6.decode target/mips: Add support for emulation of CRC32 instructions 2025-07-15 00:07:46 +02:00
rel6_translate.c target/mips: Have gen_[d]lsa() callers add 1 to shift amount argument 2025-07-15 00:23:09 +02:00
system_helper.h.inc include: Rename sysemu/ -> system/ 2024-12-20 17:44:56 +01:00
tcg-internal.h target/mips: Simplify and fix update_pagemask 2025-03-31 21:32:43 +02:00
trace-events target/mips: Move TCG trace events to tcg/ sub directory 2021-06-24 16:48:07 +02:00
trace.h target/mips: Move TCG trace events to tcg/ sub directory 2021-06-24 16:48:07 +02: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/mips: Extract generic gen_lx() helper 2025-07-15 00:23:09 +02:00
translate_addr_const.c target/mips: Have gen_[d]lsa() callers add 1 to shift amount argument 2025-07-15 00:23:09 +02:00
tx79.decode target/mips: Fix TX79 LQ/SQ opcodes 2023-11-07 12:13:28 +01:00
tx79_translate.c target/mips: Replace MO_TE by mo_endian() 2024-10-15 12:18:09 -03:00
txx9_translate.c target/mips: Move TCG source files under tcg/ sub directory 2021-05-02 16:49:35 +02:00
vr54xx.decode target/mips: Convert Vr54xx MSA* opcodes to decodetree 2021-08-25 13:02:14 +02:00
vr54xx_helper.c target/mips: Extract NEC Vr54xx helpers to vr54xx_helper.c 2021-08-25 13:02:14 +02:00
vr54xx_helper.h.inc target/mips: Extract NEC Vr54xx helper definitions 2021-08-25 13:02:14 +02:00
vr54xx_translate.c tcg: Rename cpu_env to tcg_env 2023-10-03 08:01:02 -07:00