commit | e3c8b4cae4f03ee8c157ca7a839c0871abddc984 | [log] [tgz] |
---|---|---|
author | Jim Shu <cwshu@andestech.com> | Mon Jun 21 11:37:31 2021 +0800 |
committer | Carles CufĂ <carles.cufi@nordicsemi.no> | Tue Jan 11 11:47:03 2022 +0100 |
tree | 053e6195a8e35ddf28ae61351b083c6d246bc65d | |
parent | e4c5d96a8b91b0f65f7ea43e26cce4c4a2555f4a [diff] |
arch: riscv: pmp: introduce riscv_pmp_region structure Using struct riscv_pmp_region to modulize PMP CSR handling, including PMP NAPOT/TOR mode handling. This patch can make us more easily to add/remove RISC-V PMP regions without considering register handling. Signed-off-by: Jim Shu <cwshu@andestech.com>