lib: sbi_illegal_insn: Remove mcause, scratch and hartid parameters
authorAnup Patel <anup.patel@wdc.com>
Thu, 19 Mar 2020 14:24:32 +0000 (19:54 +0530)
committerAnup Patel <anup@brainfault.org>
Sat, 28 Mar 2020 08:02:11 +0000 (13:32 +0530)
commit5a7bd0c88d7455de46143ccd9c74a40162bd3611
treebb307e808395462a08c27ea38a39a970c8f3ed2c
parentd11c79cd977443defe4260beec976fad29719eaf
lib: sbi_illegal_insn: Remove mcause, scratch and hartid parameters

We remove mcause, scratch and hartid parameters from various
functions for illegal instruction 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_illegal_insn.h
lib/sbi/sbi_illegal_insn.c
lib/sbi/sbi_trap.c