[PATCH v2 4/6] lib: sbi: fwft: factorize menvcfg read/write
Samuel Holland
samuel.holland at sifive.com
Fri Sep 13 11:08:59 PDT 2024
On 2024-09-13 9:34 AM, Clément Léger wrote:
> MENVCFG access will be used as well for double trap, landing pad and
> shadow stack fwft support. Factorize that in a common function.
>
> Signed-off-by: Clément Léger <cleger at rivosinc.com>
> ---
> include/sbi/riscv_encoding.h | 3 +-
> lib/sbi/sbi_fwft.c | 62 +++++++++++++++++++++---------------
> 2 files changed, 38 insertions(+), 27 deletions(-)
Reviewed-by: Samuel Holland <samuel.holland at sifive.com>
More information about the opensbi
mailing list