lib: sbi_hart: Detect number of supported PMP regions
It is not mandatory for a RISC-V systems to implement all PMP
regions so we have to check all PMPADDRx CSRs to determine excat
number of supported PMP regions.
Signed-off-by:
Anup Patel <anup.patel@wdc.com>
parent
2966510e
Please register or sign in to comment