Skip to content

Commit 7abfa9c

Browse files
ref(riscv/interrupts): add clarification comment for IPI handling in AIA
Signed-off-by: Filippo Fontana <[email protected]>
1 parent bdfb2a2 commit 7abfa9c

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

src/arch/riscv/interrupts.c

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -85,6 +85,11 @@ void interrupts_arch_handle(void)
8585
stopi = stopi >> TOPI_IID_SHIFT;
8686
switch (stopi) {
8787
case IRQ_S_SOFT:
88+
/**
89+
* This case is executed only by APLIC configuration,
90+
* IPIs sent through IMSIC are handled as external
91+
* interrupts.
92+
*/
8893
interrupts_handle(interrupts_ipi_id);
8994
csrs_sip_clear(SIP_SSIP);
9095
break;

0 commit comments

Comments
 (0)