irq 37 kernel/plic.c int irq = *(uint32*)PLIC_SCLAIM(hart); irq 38 kernel/plic.c return irq; irq 43 kernel/plic.c plic_complete(int irq) irq 46 kernel/plic.c *(uint32*)PLIC_SCLAIM(hart) = irq; irq 193 kernel/trap.c int irq = plic_claim(); irq 195 kernel/trap.c if(irq == UART0_IRQ){ irq 197 kernel/trap.c } else if(irq == VIRTIO0_IRQ){ irq 199 kernel/trap.c } else if(irq){ irq 200 kernel/trap.c printf("unexpected interrupt irq=%d\n", irq); irq 206 kernel/trap.c if(irq) irq 207 kernel/trap.c plic_complete(irq);