From: Yangjie Zhang Date: Thu, 28 Sep 2023 08:27:09 +0000 (+0800) Subject: lib: sbi: Add support for mconfigptr X-Git-Tag: v1.4~75 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=3632f2b5c43e2a01bbfdcf4864d358845dcf281e;p=platform%2Fkernel%2Fopensbi.git lib: sbi: Add support for mconfigptr RISC-V privileged specification v1.12 introduced the mconfigptr CSR which will hold the physical address of a configuration data structure. Signed-off-by: Yangjie Zhang Reviewed-by: Anup Patel --- diff --git a/include/sbi/riscv_encoding.h b/include/sbi/riscv_encoding.h index d137bf8..a545242 100644 --- a/include/sbi/riscv_encoding.h +++ b/include/sbi/riscv_encoding.h @@ -430,6 +430,7 @@ #define CSR_MARCHID 0xf12 #define CSR_MIMPID 0xf13 #define CSR_MHARTID 0xf14 +#define CSR_MCONFIGPTR 0xf15 /* Machine Trap Setup */ #define CSR_MSTATUS 0x300