From c12b4d5881a449df3440f75e310f1a6f876fb20b Mon Sep 17 00:00:00 2001 From: Sebastian Huber Date: Tue, 23 Jun 2026 14:17:20 +0200 Subject: [PATCH] bsps/noel: Fix build Declare and provide riscv_send_ipi(). Build issue was introduced by commit 128106b2f12c45b976eb13ea281ce828aef3de84. Update #3337. Update #5617. Signed-off-by: Sebastian Huber --- bsps/riscv/noel/include/bsp/riscv.h | 2 ++ spec/build/bsps/riscv/noel/obj.yml | 9 +++++---- 2 files changed, 7 insertions(+), 4 deletions(-) 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