rt-thread-official/.github/workflows
Shell 65c9947225
[libcpu] rv64: support for ARCH_REMAP_KERNEL (#9067)
* [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>
2024-06-18 11:15:59 +08:00
..
action_tools.yml [ci] disable tools check temporarily 2024-05-05 22:18:34 -04:00
action_utest.yml [libcpu] rv64: support for ARCH_REMAP_KERNEL (#9067) 2024-06-18 11:15:59 +08:00
bsp_buildings.yml [bsp][hpmicro] add HPM5300EVK,HPM5301EVKLITE and HPM6800EVK support & update hpm_sdk 2024-06-03 18:05:20 +08:00
bsp_buildings_env15x.yml [ci] add workflow to check env 1.5.x stable version 2024-04-29 10:55:17 +08:00
compile_bsp_with_drivers.yml 将scons --menuconfig/--pyconfig/--pyconfig-silent统一调用kconfiglib 2024-04-18 20:48:32 -04:00
doxygen.yml [ci] fix doxygen ci grammar error 2024-04-25 10:13:13 +08:00
file_check.yml [ci] actions/checkout upgrade to v4 2023-12-27 12:49:19 +08:00
manual_dist.yml 将scons --menuconfig/--pyconfig/--pyconfig-silent统一调用kconfiglib 2024-04-18 20:48:32 -04:00
manual_trigger_scons_STM32_all.yml 将scons --menuconfig/--pyconfig/--pyconfig-silent统一调用kconfiglib 2024-04-18 20:48:32 -04:00
manual_trigger_scons_except_STM32_all.yml 将scons --menuconfig/--pyconfig/--pyconfig-silent统一调用kconfiglib 2024-04-18 20:48:32 -04:00
manual_trigger_scons_fail_bsp_all.yml 将scons --menuconfig/--pyconfig/--pyconfig-silent统一调用kconfiglib 2024-04-18 20:48:32 -04:00
pkgs_test.yml [ci] workflow only is used for rt-thread org (#8450) 2023-12-30 15:50:04 +08:00
spell_check.yml [ci][spell_check]change check path 2023-12-26 22:34:23 +08:00
static_code_analysis.yml [ci] actions/checkout upgrade to v4 2023-12-27 12:49:19 +08:00