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>
---
target/tricore/cpu.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/target/tricore/cpu.c b/target/tricore/cpu.c
index 6d448727005..82b56c3cd56 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;
}
--
2.53.0