[PATCH v2 05/10] lib: sbi: Simplify parameters of misaligned and access fault handlers

Samuel Holland samuel.holland at sifive.com
Tue Mar 12 09:55:52 PDT 2024


On 2024-03-12 5:27 AM, Anup Patel wrote:
> The struct sbi_trap_context already has the information needed by
> misaligned load/store and access fault load/store handlers so directly
> pass struct sbi_trap_context pointer to these functions.
> 
> Signed-off-by: Anup Patel <apatel at ventanamicro.com>
> ---
>  include/sbi/sbi_trap_ldst.h | 12 +++----
>  lib/sbi/sbi_trap.c          |  8 ++---
>  lib/sbi/sbi_trap_ldst.c     | 67 ++++++++++++++++++-------------------
>  3 files changed, 40 insertions(+), 47 deletions(-)

Reviewed-by: Samuel Holland <samuel.holland at sifive.com>




More information about the opensbi mailing list