rt-thread-official/components/mm
Shell beee77f372
feat: support ARCH_REMAP_KERNEL on libcpu/c906 (#9123)
feat: [libcpu/c906] support ARCH_REMAP_KERNEL

This change was necessary to enable the remapping of the kernel image to
a high virtual address region on the c906 platform.

Changes:
- Introduced new configuration options `ARCH_REMAP_KERNEL`, and
  `ARCH_USING_ASID` under the `ARCH_RISCV64` section.
- Updated MMU initialization and switching functions to incorporate
  remapping handling.
- Modified page table setup for proper memory attribute settings.
- Added support for early memory setup, kernel remapping
- Added conditional compilation for ASID support in the `rt_aspace` struct,
  since this is not enable currently for most architecture.

Signed-off-by: Shell <smokewood@qq.com>
2024-07-11 11:00:04 +08:00
..
Kconfig [components][mm]添加预留内存支持 (#8025) 2023-10-14 14:10:57 +08:00
SConscript component:mm: improve sconscript (#9028) 2024-06-05 10:04:32 +08:00
avl_adpt.c [components/mm] support for scalable memory management (#7277) 2023-04-22 23:59:11 +08:00
avl_adpt.h [fix] mm bugs (#7010) 2023-03-03 11:51:21 +08:00
ioremap.c [libcpu][aarch64] 使用设备树对内存进行初始化 (#8320) 2023-12-16 18:08:11 +08:00
ioremap.h Prepare some api for DM (#7894) 2023-08-02 12:48:24 +08:00
mm_anon.c [smart] fixup of lwp recycling and mm varea (#8206) 2023-11-02 20:23:11 +08:00
mm_aspace.c [mm] precise & readable mm fault type (#9047) 2024-06-07 21:34:03 +08:00
mm_aspace.h feat: support ARCH_REMAP_KERNEL on libcpu/c906 (#9123) 2024-07-11 11:00:04 +08:00
mm_fault.c [smart] add mprotect config (#9082) 2024-06-22 13:30:55 +08:00
mm_fault.h [mm] precise & readable mm fault type (#9047) 2024-06-07 21:34:03 +08:00
mm_flag.h Sync dfs lwp (#8123) 2023-10-17 13:07:59 +08:00
mm_kmem.c Sync dfs lwp (#8123) 2023-10-17 13:07:59 +08:00
mm_memblock.c [libcpu][aarch64]memory setup using memblock (#9092) 2024-06-26 14:36:49 +08:00
mm_memblock.h [libcpu][aarch64]memory setup using memblock (#9092) 2024-06-26 14:36:49 +08:00
mm_object.c [smart] fixup of lwp recycling and mm varea (#8206) 2023-11-02 20:23:11 +08:00
mm_page.c [fixup] aarch64 UMP compiler error (#8677) 2024-03-30 17:58:38 +08:00
mm_page.h [smart] replace varea pgmgr and fixup of dfs mmap (#8184) 2023-10-25 14:59:48 +08:00
mm_private.h [mm] precise & readable mm fault type (#9047) 2024-06-07 21:34:03 +08:00