mirror of
https://github.com/RT-Thread/rt-thread.git
synced 2026-02-07 06:12:48 +00:00
* [libcpu] support for ARCH_REMAP_KERNEL These changes introduce support for the ARCH_REMAP_KERNEL configuration, which isolates kernel space in high virtual address regions. This feature is necessary to enhance memory protection and management by segregating user and kernel spaces more effectively. Changes: - Updated conditional macros to check for ARCH_REMAP_KERNEL instead of ARCH_KERNEL_IN_HIGH_VA in board initialization files to reflect the new configuration option. - Modified qemu-virt64-riscv Kconfig and SConstruct files to include and utilize ARCH_REMAP_KERNEL. - Created a new linker script `link_smart.lds` for smart linking in qemu-virt64-riscv. - Updated rtconfig.py to use a more flexible execution path setup. - Enhanced user address space definitions in `lwp_arch.h` to support the new virtual address mappings. - Adjusted kernel memory initialization and mapping logic in `c906/mmu.c` and `virt64/mmu.c` to account for high virtual address regions. - Added Kconfig option to enable ARCH_REMAP_KERNEL for RISCV64 architectures. - Enhanced memory setup functions to support new mapping scheme, including updates to early page table setup and address relocation logic. These modifications ensure that the system can utilize high memory addresses for the kernel, improving memory isolation and system stability. Signed-off-by: Shell <smokewood@qq.com> * fixup: CI run failed * bsp: default config without using smart * fixup: static checks * restore rt_hw_mmu_kernel_map_init for D1 --------- Signed-off-by: Shell <smokewood@qq.com>
RT-THREAD bsp company list
- Simulator
- STM32
- stm32 series
- NXP
- Renesas
- renesas series
- rx series
- upd70f3454
- m16c62p
- Nordic
- nrf5x series
- raspberry
- raspberry-pi series
- raspberry-pico
- TI
- Samsung
- Synopsys
- synopsys series
- Espressif
- MAXIM
- maxim series
- Microchip
- Infineon
- SiFive
- ADI
- Silicon Labs
- efm32 series
- Ambiq Micro
- Xilinx
- Altera
- Nuclei
- 灵动微MM32
- 兆易创新GD32
- gd32 series
- Realtek
- 国民科技N32
- 小华HC32
- 全志Allwinner
- allwinner series
- allwinner_tina
- 雅特力AT32
- at32 series
- rockchip
- rockchip serise
- 先楫
- hpmicro series
- 东软EastSoft
- essemi series
- 嘉楠canaan
- 沁恒WCH
- wch series
- 联德盛winnermicro
- 泰为
- Nuvoton
- nuvoton series
- 飞腾
- 合宙
- airm2m series
- ACM32 航芯
- acm32 series
- APM32 极海
- apm32 series
- 紫芯
- 博流
- bouffalo_lab series
- 航顺
- hk32 series
- 辉芒微
- ft32 series
- 华芯微特
- synwit series
- 龙芯
- loongson series
- 中科蓝讯
- bluetrum series
- 易兆微
- yichip series
- 杭州万高科技
- Vango series
- 平头哥
- 复旦微
- 无锡纳瓦特Navota
- 杭州中天微
- 中国航天科技集团
- 东南芯
- 京微雅格
- 好钜润 TIKY