[PATCH v2 03/10] include: sbi: Add trap_context pointer in struct sbi_scratch

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


On 2024-03-12 5:27 AM, Anup Patel wrote:
> To track nested traps, the struct sbi_scratch needs a pointer the
> current trap context so add trap_context pointer in struct sbi_context.
> 
> Signed-off-by: Anup Patel <apatel at ventanamicro.com>
> ---
>  firmware/fw_base.S        |  3 ++-
>  include/sbi/sbi_scratch.h | 15 ++++++++++++---
>  2 files changed, 14 insertions(+), 4 deletions(-)

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




More information about the opensbi mailing list