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 riscv/esp32c3: Add esp32c3 BLE driver 2021-06-28 23:14:30 -05:00
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 Remove exra whitespace from files (#189) 2020-01-31 09:24:49 -06:00
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 ELF64 support (#220) 2020-02-07 17:10:23 -06:00
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 risc-v: Introduce basic setjmp support 2020-12-04 09:40:07 -03:00
spinlock.h arch/risc-v: Replace __LP64__ with CONFIG_ARCH_RV64 2022-01-04 23:22:43 +08:00
stdarg.h arch: risc-V: Author Gregory Nutt: update licenses to Apache 2021-03-31 08:48:51 -07:00
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