diff options
| author | Anup Patel <anup.patel@wdc.com> | 2019-01-23 08:13:29 +0530 |
|---|---|---|
| committer | Anup Patel <anup@brainfault.org> | 2019-01-23 08:39:26 +0530 |
| commit | 025d0ae994e5663e8c2ca0e16c42e814abac027d (patch) | |
| tree | e8bfe27e49dda65db35e213fd00d7fb994bb451f /platform/common | |
| parent | 36394d2f2429c48d1db4e26ad25f9541c8c1027f (diff) | |
| download | opensbi-025d0ae994e5663e8c2ca0e16c42e814abac027d.tar.gz opensbi-025d0ae994e5663e8c2ca0e16c42e814abac027d.tar.bz2 opensbi-025d0ae994e5663e8c2ca0e16c42e814abac027d.zip | |
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>
Diffstat (limited to 'platform/common')
| -rw-r--r-- | platform/common/include/plat/sys/clint.h | 2 | ||||
| -rw-r--r-- | platform/common/sys/clint.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/platform/common/include/plat/sys/clint.h b/platform/common/include/plat/sys/clint.h index 8c67d94a..7da8aad1 100644 --- a/platform/common/include/plat/sys/clint.h +++ b/platform/common/include/plat/sys/clint.h @@ -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); diff --git a/platform/common/sys/clint.c b/platform/common/sys/clint.c index 0f530761..a518996b 100644 --- a/platform/common/sys/clint.c +++ b/platform/common/sys/clint.c @@ -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; |
