Skip to content

Commit 7014857

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

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
@@ -87,6 +87,11 @@ void interrupts_arch_handle(void)
8787
stopi = stopi >> TOPI_IID_SHIFT;
8888
switch (stopi) {
8989
case IRQ_S_SOFT:
90+
/**
91+
* This case is executed only by APLIC configuration,
92+
* IPIs sent through IMSIC are handled as external
93+
* interrupts.
94+
*/
9095
interrupts_handle(interrupts_ipi_id);
9196
csrs_sip_clear(SIP_SSIP);
9297
break;

0 commit comments

Comments
 (0)