lib: sbi_misaligned_ldst: Remove mcause, scratch and hartid parameters
authorAnup Patel <anup.patel@wdc.com>
Thu, 19 Mar 2020 16:00:02 +0000 (21:30 +0530)
committerAnup Patel <anup@brainfault.org>
Sat, 28 Mar 2020 08:02:14 +0000 (13:32 +0530)
commitfe37d7da29f67ae8ccc31f06e0f3e6c9a6b58054
treeedf5816ec411be7b554ce2bb9af5f17dc633b9a0
parent5a7bd0c88d7455de46143ccd9c74a40162bd3611
lib: sbi_misaligned_ldst: Remove mcause, scratch and hartid parameters

We remove mcause, scratch and hartid parameters from various functions
for misaligned load/store 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_misaligned_ldst.h
lib/sbi/sbi_misaligned_ldst.c
lib/sbi/sbi_trap.c