mirror of
https://github.com/riscv-software-src/opensbi.git
synced 2025-12-13 02:51:35 +00:00
sbi_trap_redirect now uses const pointer to `trap`. This ensures the caller that we never change `trap` in sbi_trap_redirect. Signed-off-by: Bo Gan <ganboing@gmail.com> Reviewed-by: Anup Patel <anup@brainfault.org>