lib: sbi: change prototype of sbi_misaligned_load/store_handler
authorBo Gan <ganboing@gmail.com>
Wed, 6 Mar 2024 02:35:37 +0000 (18:35 -0800)
committerAnup Patel <anup@brainfault.org>
Mon, 11 Mar 2024 05:18:00 +0000 (10:48 +0530)
commit9221fe58d1e65d0a1b6f62098c814994ce04dd5d
tree59b97cf0d62394f02a51332c7cbb0d8b3d0c0a81
parenta17600c186e80bca6d8641757d7ff1ccbf8fface
lib: sbi: change prototype of sbi_misaligned_load/store_handler

This simplifies both handlers such that when the handler needs to
redirect the original trap, it's readily available.

Signed-off-by: Bo Gan <ganboing@gmail.com>
Reviewed-by: Anup Patel <anup@brainfault.org>
include/sbi/sbi_trap_ldst.h
lib/sbi/sbi_trap.c
lib/sbi/sbi_trap_ldst.c