diff options
author | Anup Patel <anup.patel@wdc.com> | 2019-01-23 05:43:29 +0300 |
---|---|---|
committer | Anup Patel <anup@brainfault.org> | 2019-01-23 06:09:26 +0300 |
commit | 025d0ae994e5663e8c2ca0e16c42e814abac027d (patch) | |
tree | e8bfe27e49dda65db35e213fd00d7fb994bb451f /platform | |
parent | 36394d2f2429c48d1db4e26ad25f9541c8c1027f (diff) | |
download | opensbi-025d0ae994e5663e8c2ca0e16c42e814abac027d.tar.xz |
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')
-rw-r--r-- | platform/common/include/plat/sys/clint.h | 2 | ||||
-rw-r--r-- | platform/common/sys/clint.c | 2 | ||||
-rw-r--r-- | platform/kendryte/k210/platform.c | 2 | ||||
-rw-r--r-- | platform/qemu/sifive_u/platform.c | 2 | ||||
-rw-r--r-- | platform/qemu/virt/platform.c | 2 | ||||
-rw-r--r-- | platform/sifive/fu540/platform.c | 2 |
6 files changed, 6 insertions, 6 deletions
diff --git a/platform/common/include/plat/sys/clint.h b/platform/common/include/plat/sys/clint.h index 8c67d94..7da8aad 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 0f53076..a518996 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; diff --git a/platform/kendryte/k210/platform.c b/platform/kendryte/k210/platform.c index acb453d..5c513d4 100644 --- a/platform/kendryte/k210/platform.c +++ b/platform/kendryte/k210/platform.c @@ -114,7 +114,7 @@ struct sbi_platform platform = { .irqchip_init = k210_irqchip_init, .ipi_init = k210_ipi_init, - .ipi_inject = clint_ipi_inject, + .ipi_send = clint_ipi_send, .ipi_sync = clint_ipi_sync, .ipi_clear = clint_ipi_clear, diff --git a/platform/qemu/sifive_u/platform.c b/platform/qemu/sifive_u/platform.c index e93554f..9f3da1c 100644 --- a/platform/qemu/sifive_u/platform.c +++ b/platform/qemu/sifive_u/platform.c @@ -138,7 +138,7 @@ struct sbi_platform platform = { .console_getc = sifive_uart_getc, .console_init = sifive_u_console_init, .irqchip_init = sifive_u_irqchip_init, - .ipi_inject = clint_ipi_inject, + .ipi_send = clint_ipi_send, .ipi_sync = clint_ipi_sync, .ipi_clear = clint_ipi_clear, .ipi_init = sifive_u_ipi_init, diff --git a/platform/qemu/virt/platform.c b/platform/qemu/virt/platform.c index c55b5fc..63f4747 100644 --- a/platform/qemu/virt/platform.c +++ b/platform/qemu/virt/platform.c @@ -139,7 +139,7 @@ struct sbi_platform platform = { .console_getc = uart8250_getc, .console_init = virt_console_init, .irqchip_init = virt_irqchip_init, - .ipi_inject = clint_ipi_inject, + .ipi_send = clint_ipi_send, .ipi_sync = clint_ipi_sync, .ipi_clear = clint_ipi_clear, .ipi_init = virt_ipi_init, diff --git a/platform/sifive/fu540/platform.c b/platform/sifive/fu540/platform.c index 266a191..28b86ec 100644 --- a/platform/sifive/fu540/platform.c +++ b/platform/sifive/fu540/platform.c @@ -191,7 +191,7 @@ struct sbi_platform platform = { .console_getc = sifive_uart_getc, .console_init = fu540_console_init, .irqchip_init = fu540_irqchip_init, - .ipi_inject = clint_ipi_inject, + .ipi_send = clint_ipi_send, .ipi_sync = clint_ipi_sync, .ipi_clear = clint_ipi_clear, .ipi_init = fu540_ipi_init, |