diff --git a/bsps/riscv/noel/include/bsp/riscv.h b/bsps/riscv/noel/include/bsp/riscv.h index 533ca1e4be..2c4bf9c688 100644 --- a/bsps/riscv/noel/include/bsp/riscv.h +++ b/bsps/riscv/noel/include/bsp/riscv.h @@ -50,6 +50,8 @@ extern uint32_t riscv_hart_count; uint32_t riscv_get_hart_index_by_phandle( uint32_t phandle ); +void riscv_send_ipi(uint32_t cpu_index); + #ifdef __cplusplus } #endif diff --git a/spec/build/bsps/riscv/noel/obj.yml b/spec/build/bsps/riscv/noel/obj.yml index ee508d7ae6..5640f5d1d4 100644 --- a/spec/build/bsps/riscv/noel/obj.yml +++ b/spec/build/bsps/riscv/noel/obj.yml @@ -18,20 +18,21 @@ install: - bsps/riscv/noel/include/bsp/riscv.h links: [] source: -- bsps/riscv/riscv/clock/clockdrv.c - bsps/riscv/noel/console/console-config.c -- bsps/riscv/riscv/irq/irq.c - bsps/riscv/noel/start/bsp_fatal_halt.c +- bsps/riscv/riscv/clock/clockdrv.c +- bsps/riscv/riscv/irq/irq.c - bsps/riscv/riscv/start/bspstart.c - bsps/riscv/shared/fdt/riscv-fdt.c - bsps/riscv/shared/start/bspgetworkarea.c +- bsps/riscv/shared/start/sendipi.c - bsps/shared/cache/nocache.c - bsps/shared/dev/btimer/btimer-cpucounter.c - bsps/shared/dev/getentropy/getentropy-cpucounter.c - bsps/shared/dev/serial/console-termios.c +- bsps/shared/grlib/uart/apbuart_polled.c +- bsps/shared/grlib/uart/apbuart_termios.c - bsps/shared/irq/irq-default-handler.c - bsps/shared/start/bsp-fdt.c - bsps/shared/start/gettargethash-default.c -- bsps/shared/grlib/uart/apbuart_polled.c -- bsps/shared/grlib/uart/apbuart_termios.c type: build