Skip to contentSkip to conversation

target/tricore: Document architectural interrupts as not implemented

PATCH Superseded Philippe Mathieu-Daudé 2 participants 2 messages Aug 20

v1 of 5 Superseded Latest is v5 →

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 target/tricore: Document architectural interrupts as not implemented

As mentioned in commit de680286b52 ("accel/tcg: Make cpu_exec_interrupt hook mandatory"):

Quoted 2 lines

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.

---
 target/tricore/cpu.c | 1 +
 1 file changed, 1 insertion(+)
target/tricore/cpu.c +1 -0
index 6d448727005..82b56c3cd56 100644
@@ -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;
 }
 
Signature · 1 line
2.53.0
Reviewed-by on v1 1/1
#1 lore raw
Quoted 6 lines · Philippe Mathieu-Daudé

As mentioned in commit de680286b52 ("accel/tcg: Make cpu_exec_interrupt hook mandatory"):

Quoted 2 lines

Tricore doesn't currently implement the architectural interrupt handling.

Quoted 7 lines

Add a comment to help understanding why this SysemuCPUOps has_work() handler is simply always returning %true.

---
  target/tricore/cpu.c | 1 +
  1 file changed, 1 insertion(+)

r~