[PATCH v2 06/10] lib: sbi: Simplify parameters of sbi_illegal_insn_handler()
Samuel Holland
samuel.holland at sifive.com
Tue Mar 12 09:56:14 PDT 2024
On 2024-03-12 5:28 AM, Anup Patel wrote:
> The struct sbi_trap_context already has the information needed by
> sbi_illegal_insn_handler() so directly pass struct sbi_trap_context
> pointer to this function.
>
> Signed-off-by: Anup Patel <apatel at ventanamicro.com>
> ---
> include/sbi/sbi_illegal_insn.h | 4 ++--
> lib/sbi/sbi_illegal_insn.c | 14 +++++++-------
> lib/sbi/sbi_trap.c | 2 +-
> 3 files changed, 10 insertions(+), 10 deletions(-)
Reviewed-by: Samuel Holland <samuel.holland at sifive.com>
More information about the opensbi
mailing list