hart               32 kernel/memlayout.h #define PLIC_SENABLE(hart) (PLIC + 0x2080 + (hart)*0x100)
hart               33 kernel/memlayout.h #define PLIC_SPRIORITY(hart) (PLIC + 0x201000 + (hart)*0x2000)
hart               34 kernel/memlayout.h #define PLIC_SCLAIM(hart) (PLIC + 0x201004 + (hart)*0x2000)
hart               22 kernel/plic.c    int hart = cpuid();
hart               26 kernel/plic.c    *(uint32*)PLIC_SENABLE(hart) = (1 << UART0_IRQ) | (1 << VIRTIO0_IRQ);
hart               29 kernel/plic.c    *(uint32*)PLIC_SPRIORITY(hart) = 0;
hart               36 kernel/plic.c    int hart = cpuid();
hart               37 kernel/plic.c    int irq = *(uint32*)PLIC_SCLAIM(hart);
hart               45 kernel/plic.c    int hart = cpuid();
hart               46 kernel/plic.c    *(uint32*)PLIC_SCLAIM(hart) = irq;