nuttx/arch
Lup Yuen Lee bdf60d7966 risc-v/bl808, sg2000: Configure MMU to cache Kernel Text, Data and Heap (T-Head C906)
This PR configures the BL808 and SG2000 MMU (inside T-Head C906) to cache the the Kernel Text, Data and Heap.  We set the MMU Flags (Shareable, Bufferable and Cacheable) as explained in this article: https://lupyuen.github.io/articles/plic3#appendix-mmu-caching-for-t-head-c906

This PR fixes the Slow Memory Access for NuttX Kernel in BL808 and SG2000: https://github.com/apache/nuttx/issues/12696

In the next PR, we will fix the Slow Memory Access for NuttX Apps, by caching the User Text and Data.

arch/risc-v/src/bl808/bl808_mm_init.c: Added MMU Flags (Shareable, Bufferable and Cacheable) for BL808 Kernel Text, Data and Heap

arch/risc-v/src/sg2000/sg2000_mm_init.c: Added MMU Flags (Shareable, Bufferable and Cacheable) for SG2000 Kernel Text, Data and Heap
2024-07-17 12:08:04 -03:00
..
arm /rp2040 Rename the RP2040-specific PWM_MULTICHAN definition to avoid confusion with the global PWM_MULTICHAN 2024-07-16 20:09:10 +08:00
arm64 zynq-mpsoc: add support for mio/emio 2024-07-16 18:50:52 -03:00
avr at32uc3a0: Initial work for SimpleMachines' Mizar32-A 2024-07-15 20:46:41 +08:00
ceva Revert "irq: remove restore_critical_section in irq" 2024-07-02 15:46:20 +08:00
dummy
hc sched: move nxsched_dumponexit() to task_exithook 2024-06-30 17:30:42 +08:00
mips spin_lock: inline spin_lock 2024-07-15 02:29:30 +08:00
misoc sched: move nxsched_dumponexit() to task_exithook 2024-06-30 17:30:42 +08:00
or1k sched: move nxsched_dumponexit() to task_exithook 2024-06-30 17:30:42 +08:00
renesas sched: move nxsched_dumponexit() to task_exithook 2024-06-30 17:30:42 +08:00
risc-v risc-v/bl808, sg2000: Configure MMU to cache Kernel Text, Data and Heap (T-Head C906) 2024-07-17 12:08:04 -03:00
sim arch/sim/Makefile: add openh264 & x264 include path 2024-07-16 08:33:50 -03:00
sparc spin_lock: inline spin_lock 2024-07-15 02:29:30 +08:00
tricore arch/tricore: fix compiler warning on GCC toolchain 2024-07-17 17:18:02 +08:00
x86 sched: move nxsched_dumponexit() to task_exithook 2024-06-30 17:30:42 +08:00
x86_64 spin_lock: inline spin_lock 2024-07-15 02:29:30 +08:00
xtensa esp32[s2]: Add nuttx toolchain support on mcuboot 2024-07-16 10:30:56 +08:00
z16 sched: move nxsched_dumponexit() to task_exithook 2024-06-30 17:30:42 +08:00
z80 sched: move nxsched_dumponexit() to task_exithook 2024-06-30 17:30:42 +08:00
CMakeLists.txt build/cmake: add initial KERNEL mode support 2024-03-15 16:21:23 +08:00
Kconfig libc/x86_64: port string functions from bionic 2024-07-02 23:59:18 +08:00