Commit b64b3caaab for qemu.org
commit b64b3caaab760f1d877cb6474f1938275050f1f1
Author: Philippe Mathieu-Daudé <philmd@oss.qualcomm.com>
Date: Thu Aug 20 15:58:35 2026 +0200
target/tricore: Document architectural interrupts as not implemented
As mentioned in commit de680286b52 ("accel/tcg: Make
cpu_exec_interrupt hook mandatory"):
> Tricore doesn't currently implement the architectural
> interrupt handling.
Add a comment to help understanding why this SysemuCPUOps
has_work() handler is simply always returning %true.
Signed-off-by: Philippe Mathieu-Daudé <philmd@oss.qualcomm.com>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Message-Id: <20260901095229.72018-19-philmd@oss.qualcomm.com>
diff --git a/target/tricore/cpu.c b/target/tricore/cpu.c
index dcd5c5065b..84a05e3d36 100644
--- a/target/tricore/cpu.c
+++ b/target/tricore/cpu.c
@@ -113,6 +113,7 @@ static void tricore_cpu_reset_hold(Object *obj, ResetType type)
static bool tricore_cpu_has_work(CPUState *cs)
{
+ /* Interrupts are not implemented */
return true;
}