Home
last modified time | relevance | path

Searched refs:hart (Results 1 – 6 of 6) sorted by relevance

/lk-master/target/qemu-sifive-u/include/platform/
A Dsifive.h22 #define PLIC_HART_IDX(hart) ((hart) ? ((2 * (hart)) - 1) : 0) argument
24 #define PLIC_HART_IDX(hart) ((hart) ? (2 * (hart)) : ~0U) argument
/lk-master/target/sifive-unleashed/include/platform/
A Dsifive.h25 #define PLIC_HART_IDX(hart) ((hart) ? ((2 * (hart)) - 1) : 0) argument
27 #define PLIC_HART_IDX(hart) ((hart) ? (2 * (hart)) : ~0U) argument
/lk-master/platform/qemu-virt-riscv/
A Dplic.c25 #define PLIC_ENABLE(irq, hart) (PLIC_BASE_VIRT + 0x2000 + (0x80 * PLIC_HART_IDX(hart)) + (4 * … argument
26 #define PLIC_THRESHOLD(hart) (PLIC_BASE_VIRT + 0x200000 + (0x1000 * PLIC_HART_IDX(hart))) argument
27 #define PLIC_COMPLETE(hart) (PLIC_BASE_VIRT + 0x200004 + (0x1000 * PLIC_HART_IDX(hart))) argument
28 #define PLIC_CLAIM(hart) PLIC_COMPLETE(hart) argument
/lk-master/platform/sifive/
A Dplic.c26 #define PLIC_ENABLE(irq, hart) (PLIC_BASE + 0x2000 + (0x80 * PLIC_HART_IDX(hart)) + (4 * ((irq… argument
27 #define PLIC_THRESHOLD(hart) (PLIC_BASE + 0x200000 + (0x1000 * PLIC_HART_IDX(hart))) argument
28 #define PLIC_COMPLETE(hart) (PLIC_BASE + 0x200004 + (0x1000 * PLIC_HART_IDX(hart))) argument
29 #define PLIC_CLAIM(hart) PLIC_COMPLETE(hart) argument
/lk-master/platform/qemu-virt-riscv/include/platform/
A Dvirt.h15 #define PLIC_HART_IDX(hart) (2 * (hart)) argument
17 #define PLIC_HART_IDX(hart) ((2 * (hart)) + 1) argument
/lk-master/target/sifive-e/include/platform/
A Dsifive.h45 #define PLIC_HART_IDX(hart) 0 argument

Completed in 6 milliseconds