Skip to content

Commit

Permalink
Handle SEIE
Browse files Browse the repository at this point in the history
  • Loading branch information
lupyuen committed Jan 19, 2024
1 parent 1f514aa commit c288709
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions arch/risc-v/src/qemu-rv/qemu_rv_irq_dispatch.c
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,7 @@
void *riscv_dispatch_irq(uintptr_t vector, uintptr_t *regs)
{
int irq = (vector >> RV_IRQ_MASK) | (vector & 0xf);
if (irq == RISCV_IRQ_SEXT) { irq = RISCV_IRQ_MEXT; } // TinyEMU works only with SEIE, not MEIE

/* Firstly, check if the irq is machine external interrupt */

Expand Down

0 comments on commit c288709

Please sign in to comment.