81188d9c94
- Add test for mode support, which is architecture dependent - Add tests for address alignment and region size - Add option to query for access rights - The function goes through every PMP entry and tests if an address range from [base, base+size] has been configured for desired access rights. - If several PMP entries match the range and access rights, the information is combined - End result is either no access, a partial match was found, or a full match was found. Details about the partial match are not provided. The intent for testing access rights and not just blindly applying them is a case where they are already set in e.g. a bootloader. In this case, nothing should be done, unless the configuration does not match, in which case the software must not continue further. |
||
---|---|---|
.. | ||
bl602 | ||
c906 | ||
esp32c3 | ||
fe310 | ||
k210 | ||
litex | ||
mpfs | ||
qemu-rv | ||
rv32m1 | ||
.gitignore | ||
arch.h | ||
csr.h | ||
elf.h | ||
inttypes.h | ||
irq.h | ||
limits.h | ||
setjmp.h | ||
spinlock.h | ||
stdarg.h | ||
syscall.h | ||
types.h |