lib: sbi_ecall: Remove mcause, scratch and hartid parameters
authorAnup Patel <anup.patel@wdc.com>
Thu, 19 Mar 2020 16:25:12 +0000 (21:55 +0530)
committerAnup Patel <anup@brainfault.org>
Sat, 28 Mar 2020 08:02:20 +0000 (13:32 +0530)
commit7487116b41e6c06d3903b600a2231d2a68d0c4a4
tree1ed0174c5271e57a4554d8bdd6ffea16cbe60b2a
parentfe37d7da29f67ae8ccc31f06e0f3e6c9a6b58054
lib: sbi_ecall: Remove mcause, scratch and hartid parameters

We remove mcause, scratch and hartid parameters from various
functions for ecall handling because we can always get current
HART id and current scratch pointer using just one CSR access.

Signed-off-by: Anup Patel <anup.patel@wdc.com>
Reviewed-by: Atish Patra <atish.patra@wdc.com>
include/sbi/sbi_ecall.h
include/sbi/sbi_hsm.h
lib/sbi/sbi_ecall.c
lib/sbi/sbi_ecall_base.c
lib/sbi/sbi_ecall_hsm.c
lib/sbi/sbi_ecall_legacy.c
lib/sbi/sbi_ecall_replace.c
lib/sbi/sbi_ecall_vendor.c
lib/sbi/sbi_trap.c