nuttx/arch/risc-v/include
Ville Juven 81188d9c94 Extend the RISC-V PMP functionality
- 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.
2022-01-25 20:22:34 +08:00
..
bl602 arch/risc-v: Remove dupped irq code from bl602 2022-01-21 00:44:43 +08:00
c906 arch/risc-v: Remove dupped irq code from c906 2022-01-21 00:44:43 +08:00
esp32c3
fe310 arch/risc-v: Remove dupped irq code from fe310 2022-01-21 00:44:43 +08:00
k210 arch/risc-v: Remove dupped irq code from k210 2022-01-21 00:44:43 +08:00
litex arch/risc-v: Remove dupped irq code from litex 2022-01-21 00:44:43 +08:00
mpfs arch/risc-v: Remove dupped irq code from mpfs 2022-01-21 00:44:43 +08:00
qemu-rv arch/risc-v: Remove dupped irq code from qemu-rv 2022-01-21 00:44:43 +08:00
rv32m1 arch/risc-v: Merge mcause.h into irq.h 2022-01-22 14:57:05 +08:00
.gitignore
arch.h arch/risc-v: Refine arch.h 2022-01-04 14:46:24 +08:00
csr.h Extend the RISC-V PMP functionality 2022-01-25 20:22:34 +08:00
elf.h
inttypes.h arch/risc-v: Replace __LP64__ with CONFIG_ARCH_RV64 2022-01-04 23:22:43 +08:00
irq.h arch/risc-v: Merge mcause.h into irq.h 2022-01-22 14:57:05 +08:00
limits.h arch/risc-v: Refine Toolchain.defs 2021-12-28 00:30:10 -06:00
setjmp.h
spinlock.h arch/risc-v: Replace __LP64__ with CONFIG_ARCH_RV64 2022-01-04 23:22:43 +08:00
stdarg.h
syscall.h arch/risc-v: Refine syscall interface 2021-12-30 11:47:42 +08:00
types.h arch/risc-v: Replace __LP64__ with CONFIG_ARCH_RV64 2022-01-04 23:22:43 +08:00