nuttx/boards/risc-v
Ville Juven 8a4881c4e5 Implement CONFIG_BUILD_PROTECTED with MMU
NOTE: THIS ONLY WORKS WHEN KERNEL RUNS IN M-MODE FOR NOW

This frees the PMP for other use, e.g. HART memory separation.

The page tables are statically allocated, 1 per level.

This feature is now behind CONFIG_MPFS_USE_MMU_AS_MPU, because
only the MPFS target supports this (others are not tested).

If the MMU is used for memory separation within a HART, the PMP must
still be configured to allow user access to the memory mapped for the
HART, because PMP *rekoves* access by default. At this point all of
the user memory as well as the kernel RAM are opened.

A more flexible solution for PMP configuration will follow.
2022-01-25 20:22:34 +08:00
..
bl602/bl602evb board: Remove -fno-omit-frame-pointer from Make.defs 2022-01-20 16:00:48 +01:00
c906/smartl-c906 board: Remove -fno-omit-frame-pointer from Make.defs 2022-01-20 16:00:48 +01:00
esp32c3/esp32c3-devkit board: Remove -fstrict-volatile-bitfields 2022-01-20 16:00:48 +01:00
fe310/hifive1-revb board: Remove -fno-strength-reduce 2022-01-19 00:14:03 +01:00
k210/maix-bit board: Remove -fno-strength-reduce 2022-01-19 00:14:03 +01:00
litex/arty_a7 board: Remove -fno-strength-reduce 2022-01-19 00:14:03 +01:00
mpfs Implement CONFIG_BUILD_PROTECTED with MMU 2022-01-25 20:22:34 +08:00
qemu-rv/rv-virt board: Remove -fno-strength-reduce 2022-01-19 00:14:03 +01:00
rv32m1/rv32m1-vega board: Remove -fno-strength-reduce 2022-01-19 00:14:03 +01:00