mirror of
https://github.com/riscv-software-src/opensbi.git
synced 2026-10-22 20:02:04 +01:00
include: Rename ipi_inject() to ipi_send() for sbi_platform
For better naming, we rename ipi_inject() to ipi_send() in struct sbi_platform. We also replace term "inject" with "send" in all related places. Signed-off-by: Anup Patel <anup.patel@wdc.com>
This commit is contained in:
1 parent
36394d2f24
commit
025d0ae994
9 files changed
+15
-15
No files matched your search
@@ -12,7 +12,7 @@
|
||||
|
||||
#include <sbi/sbi_types.h>
|
||||
|
||||
void clint_ipi_inject(u32 target_hart);
|
||||
void clint_ipi_send(u32 target_hart);
|
||||
|
||||
void clint_ipi_sync(u32 target_hart);
|
||||
|
||||
|
||||
@@ -16,7 +16,7 @@ static u32 clint_ipi_hart_count;
|
||||
static volatile void *clint_ipi_base;
|
||||
static volatile u32 *clint_ipi;
|
||||
|
||||
void clint_ipi_inject(u32 target_hart)
|
||||
void clint_ipi_send(u32 target_hart)
|
||||
{
|
||||
if (clint_ipi_hart_count <= target_hart)
|
||||
return;
|
||||
|
||||
Reference in new issue
Block a user