Log PLIC Interrupt Pending. Interrupt Pending is set!

This commit is contained in:
Lee Lup Yuen 2023-11-24 22:43:09 +08:00
parent 44833f6812
commit 4ec00371e4

View file

@ -3183,8 +3183,12 @@ riscv_dispatch_irq: Do irq=8
NuttShell (NSH) NuttX-12.0.3
riscv_dispatch_irq: irq=25, claim=0
riscv_dispatch_irq: *0xe0201004=0
PLIC Interrupt Pending (0xe0001000):
0000 00 00 10 00 00 00 10 00 ........
```
But Interrupt Pending is set!
TODO: Why is PLIC Claim 0?
TODO: Why is up_irqinitialize not setting Interrupt Priority properly? Signed arithmetic? Or delay?