nuttx/boards/risc-v/mpfs
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
..
common Add proper user/kernel space linker scripts for knsh target 2022-01-25 20:22:34 +08:00
icicle Implement CONFIG_BUILD_PROTECTED with MMU 2022-01-25 20:22:34 +08:00
m100pfsevp board: Remove -fno-omit-frame-pointer from Make.defs 2022-01-20 16:00:48 +01:00