lib: Remove target_hart and hartid parameter from TIMER callbacks
authorAnup Patel <anup.patel@wdc.com>
Tue, 22 Jan 2019 09:17:03 +0000 (14:47 +0530)
committerAnup Patel <anup@brainfault.org>
Wed, 23 Jan 2019 03:09:26 +0000 (08:39 +0530)
commit9895d446ae947c2c3d060808bcb66870afaeb659
treea548ceec34b355e59679bc379a06633d0341378a
parent74fd2e5bb217278fcb2c0020038ea5f19bd5d22f
lib: Remove target_hart and hartid parameter from TIMER callbacks

The target_hart and hartid paramter of TIMER callbacks is not
required because it always current hartid which can be obtained
using sbi_current_hartid() API.

Signed-off-by: Anup Patel <anup.patel@wdc.com>
12 files changed:
include/sbi/sbi_platform.h
include/sbi/sbi_timer.h
lib/sbi_ecall.c
lib/sbi_init.c
lib/sbi_timer.c
lib/sbi_trap.c
platform/common/include/plat/sys/clint.h
platform/common/sys/clint.c
platform/kendryte/k210/platform.c
platform/qemu/sifive_u/platform.c
platform/qemu/virt/platform.c
platform/sifive/fu540/platform.c