nuttx/arch/risc-v
Ville Juven ff05cc593f risc-v/mmu: Fix L3 mappings for kernel, and mpfs protected mode userspace
The L3 mapping function was just way too simplistic. Depending on memory
configuration it either works or not.

Noticed that with icicle:pnsh the software crashes due to instruction
page fault, reason is the map_region() implementation that does not
work for regions that are not aligned to 2MB (the L2 page size).

Implemented an extremely simplistic page table allocator for the L3
references, that should once and for all get rid of the L3 mapping issue.

NOTE: gran_alloc() cannot be used at this point, it is too early for it.
2022-09-12 18:01:08 +09:00
..
include riscv: Dump trap val in exception handler 2022-08-30 14:55:33 +08:00
src risc-v/mmu: Fix L3 mappings for kernel, and mpfs protected mode userspace 2022-09-12 18:01:08 +09:00
Kconfig risc-v/esp32c3: Add support for Protected Mode 2022-05-18 11:43:52 +08:00