riscv: add functions for reading the IPI status
Add the function riscv_get_ipi() for reading the pending status of IPIs. The supported controllers are Andes' Platform Level Interrupt Controller (PLIC), the Supervisor Binary Interface (SBI), and SiFive's Core Local Interruptor (CLINT). Signed-off-by:Lukas Auer <lukas.auer@aisec.fraunhofer.de> Reviewed-by:
Rick Chen <rick@andestech.com>
Showing
- arch/riscv/lib/andes_plic.c 11 additions, 0 deletionsarch/riscv/lib/andes_plic.c
- arch/riscv/lib/sbi_ipi.c 11 additions, 0 deletionsarch/riscv/lib/sbi_ipi.c
- arch/riscv/lib/sifive_clint.c 9 additions, 0 deletionsarch/riscv/lib/sifive_clint.c
- arch/riscv/lib/smp.c 12 additions, 0 deletionsarch/riscv/lib/smp.c
Loading
Please register or sign in to comment