Skip to content
Commit e3c8b4ca authored by Jim Shu's avatar Jim Shu Committed by Carles Cufí
Browse files

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: default avatarJim Shu <cwshu@andestech.com>
parent e4c5d96a
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment