rt-thread-official/bsp
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
..
CME_M7 [bsp] update projects 2024-03-21 11:23:29 +08:00
ESP32_C3 [pin] pin_read/write rt_uint8_t to rt_ssize_t 2024-03-23 14:50:31 -04:00
Infineon [BSP][Infineon]Change Readme 2024-05-28 16:39:16 +08:00
Vango [bsp][drv_gpio] fix the error code return when pin number is illegal 2024-03-24 09:18:25 +08:00
acm32 [i2c] adjust the timing for I2C initialization 2024-04-29 20:46:12 -04:00
airm2m [i2c] adjust the timing for I2C initialization 2024-04-29 20:46:12 -04:00
allwinner [bsp] format drivers code 2024-03-24 09:18:25 +08:00
allwinner_tina [bsp][drv_gpio] fix the error code return when pin number is illegal 2024-03-24 09:18:25 +08:00
amebaz [bsp] update projects 2024-03-21 11:23:29 +08:00
apm32 [i2c] adjust the timing for I2C initialization 2024-04-29 20:46:12 -04:00
apollo2 [pin] pin_read/write rt_uint8_t to rt_ssize_t 2024-03-23 14:50:31 -04:00
asm9260t [bsp] update projects 2024-03-21 11:23:29 +08:00
at32 [bsp/at32] 1.fixed f402 uart7/8 pierph clock source error, 2.fixed compiling error of drv_usart_v2.c with no dma 2024-05-16 19:15:17 -04:00
at91 [i2c] adjust the timing for I2C initialization 2024-04-29 20:46:12 -04:00
avr32 [i2c] adjust the timing for I2C initialization 2024-04-29 20:46:12 -04:00
beaglebone [pin] pin_read/write rt_uint8_t to rt_ssize_t 2024-03-23 14:50:31 -04:00
bf533
bluetrum [i2c] adjust the timing for I2C initialization 2024-04-29 20:46:12 -04:00
bm3803 [bsp] update projects 2024-03-21 11:23:29 +08:00
bouffalo_lab [libcpu] rv64: support for ARCH_REMAP_KERNEL (#9067) 2024-06-18 11:15:59 +08:00
ck802 [bsp] format drivers code 2024-03-24 09:18:25 +08:00
core-v-mcu [bsp] update projects 2024-03-21 11:23:29 +08:00
cvitek [libcpu] rv64: support for ARCH_REMAP_KERNEL (#9067) 2024-06-18 11:15:59 +08:00
dm365 [bsp] update projects 2024-03-21 11:23:29 +08:00
efm32 [debug] 整理debug宏并增加RT_DEBUGING_CONTEXT (#7805) 2023-07-22 10:36:42 +08:00
essemi [RTduino] change the pinout group name 2024-03-29 21:49:13 +08:00
fm33lc026 [bsp][drv_gpio] fix the error code return when pin number is illegal 2024-03-24 09:18:25 +08:00
frdm-k64f [bsp] update projects 2024-03-21 11:23:29 +08:00
ft32 [bsp][drv_gpio] fix the error code return when pin number is illegal 2024-03-24 09:18:25 +08:00
ft2004 [bsp] format drivers code 2024-03-24 09:18:25 +08:00
fujitsu/mb9x [bsp] update projects 2024-03-21 11:23:29 +08:00
gd32 [bsp][gd32] 修复串口驱动中由于可能的中断嵌套而导致RB索引异常的问题 2024-05-02 18:57:18 -04:00
hc32 [BSP] HC32F460 在 SConscript 补充几个源文件 (#9042) 2024-06-10 16:15:04 +08:00
hc32l136 [bsp] format drivers code 2024-03-24 09:18:25 +08:00
hc32l196 feat(bsp): hc32L196增加IAR_8.40支持 2024-05-17 18:38:05 -04:00
hifive1 [bsp] update projects 2024-03-21 11:23:29 +08:00
hk32 [i2c] adjust the timing for I2C initialization 2024-04-29 20:46:12 -04:00
hpmicro [bsp][hpmicro] remove invalid reference in board KConfig 2024-06-04 11:11:58 +08:00
ht32 修改scons的脚本文件,使其适配更多芯片的工程生成 2024-05-07 02:03:28 -04:00
juicevm [bsp] update projects 2024-03-21 11:23:29 +08:00
k210 [bsp][drv_gpio] fix the error code return when pin number is illegal 2024-03-24 09:18:25 +08:00
lm3s9b9x [bsp] update projects 2024-03-21 11:23:29 +08:00
lm3s8962 [bsp] update projects 2024-03-21 11:23:29 +08:00
lm4f232 [bsp] update projects 2024-03-21 11:23:29 +08:00
loongson [i2c] adjust the timing for I2C initialization 2024-04-29 20:46:12 -04:00
m16c62p
maxim [pin] pin_read/write rt_uint8_t to rt_ssize_t 2024-03-23 14:50:31 -04:00
microblaze
microchip [bsp] update projects 2024-03-21 11:23:29 +08:00
mini2440 [bsp] update projects 2024-03-21 11:23:29 +08:00
mini4020 [errno code]fix that use RT_ENOMEM without - 2023-03-23 01:55:21 -04:00
mipssim [bsp] format drivers code 2024-03-24 09:18:25 +08:00
mm32 [bsp][drv_gpio] fix the error code return when pin number is illegal 2024-03-24 09:18:25 +08:00
mm32f103x [bsp][drv_gpio] fix the error code return when pin number is illegal 2024-03-24 09:18:25 +08:00
mm32f327x [bsp][drv_gpio] fix the error code return when pin number is illegal 2024-03-24 09:18:25 +08:00
mm32l3xx [bsp] format drivers code 2024-03-24 09:18:25 +08:00
mm32l07x [bsp] format drivers code 2024-03-24 09:18:25 +08:00
msp432e401y-LaunchPad [bsp][drv_gpio] fix the error code return when pin number is illegal 2024-03-24 09:18:25 +08:00
n32 [i2c] adjust the timing for I2C initialization 2024-04-29 20:46:12 -04:00
n32g452xx [i2c] adjust the timing for I2C initialization 2024-04-29 20:46:12 -04:00
nios_ii
nrf5x [bsp][drv_gpio] fix the error code return when pin number is illegal 2024-03-24 09:18:25 +08:00
nuclei [bsp] format drivers code 2024-03-24 09:18:25 +08:00
nuvoton [bsp] format drivers code 2024-03-24 09:18:25 +08:00
nv32f100x [HUST CSE]github上正常但导入vscode出现乱码 2023-04-22 19:22:19 +01:00
nxp 【修改】修改imx6ull-smart中mnt.c的逻辑错误 (#9045) 2024-06-13 08:51:57 +08:00
phytium [bsp/phytium]c++支持,gpio,qspi驱动修改 (#9059) 2024-06-16 15:42:37 +08:00
pic32ethernet
qemu-vexpress-a9 [fixed]qemu-vexpress-a9/drv_smc911x.c没有包含相应的头文件 (#9040) 2024-06-07 21:38:16 +08:00
qemu-virt64-aarch64 [libcpu][aarch64] Fixed the rt_hw_secondary_cpu_bsp_start() bug (#8898) 2024-05-08 19:48:17 +08:00
qemu-virt64-riscv [libcpu] rv64: support for ARCH_REMAP_KERNEL (#9067) 2024-06-18 11:15:59 +08:00
raspberry-pi [bsp/rpi4] fixup startup failure (#8754) 2024-04-11 00:02:49 +08:00
raspberry-pico [bsp][pico] update README.md (#9018) 2024-05-31 17:34:56 +08:00
renesas [renesas][hmi-board]update lvgl config and doc. 2024-05-09 14:44:58 +08:00
rm48x50 [bsp] format drivers code 2024-03-24 09:18:25 +08:00
rockchip [pin] pin_read/write rt_uint8_t to rt_ssize_t 2024-03-23 14:50:31 -04:00
rv32m1_vega [bsp] format drivers code 2024-03-24 09:18:25 +08:00
rx [errno code][-RT_ERROR] fix that use RT_ERROR without - 2023-03-20 00:06:16 -04:00
sam7x [bsp] update projects 2024-03-21 11:23:29 +08:00
samd21 [errno code][-RT_ERROR] fix that use RT_ERROR without - 2023-03-20 00:06:16 -04:00
sep6200 [debug] remove RT_DEBUG_xxx 2023-07-09 00:19:29 -04:00
simulator [bsp] update projects 2024-03-21 11:23:29 +08:00
smartfusion2 [bsp] format drivers code 2024-03-24 09:18:25 +08:00
sparkfun-redv [bsp] update projects 2024-03-21 11:23:29 +08:00
stm32 [BSP][stm32f103-100ask-pro]add ext_sram driver to stm32f103-100ask-pro 2024-05-29 20:19:46 +08:00
synopsys/boards [bsp] update projects 2024-03-21 11:23:29 +08:00
synwit [i2c] adjust the timing for I2C initialization 2024-04-29 20:46:12 -04:00
tae32f5300 [bsp][drv_gpio] fix the error code return when pin number is illegal 2024-03-24 09:18:25 +08:00
taihu [kernel] 将rt_thread结构体改为显式继承rt_object (#7131) 2023-04-04 09:06:27 -04:00
thead-smart [bsp] update projects 2024-03-21 11:23:29 +08:00
ti/c28x [pin] pin_read/write rt_uint8_t to rt_ssize_t 2024-03-23 14:50:31 -04:00
tkm32F499 [bsp][drv_gpio] fix the error code return when pin number is illegal 2024-03-24 09:18:25 +08:00
tm4c123bsp bsp/tm4c123: move i2c clk config to tm4c123_config.c 2024-04-12 19:02:49 -04:00
tm4c129x [bsp] update projects 2024-03-21 11:23:29 +08:00
tms320c6678
upd70f3454
w60x [i2c] adjust the timing for I2C initialization 2024-04-29 20:46:12 -04:00
wch [bsp][ch32v307]添加了适配RT-Thread的全速USB驱动 2024-05-04 01:02:47 -04:00
wh44b0
x86 [bsp] update projects 2024-03-21 11:23:29 +08:00
xplorer4330 [bsp] update projects 2024-03-21 11:23:29 +08:00
yichip [pin] pin_read/write rt_uint8_t to rt_ssize_t 2024-03-23 14:50:31 -04:00
zynqmp-a53-dfzu2eg [bsp][zynqmp] 为 DFZU2EG MPSoC 开发板支持标准版和Smart版内核 (#8773) 2024-04-12 15:57:06 +08:00
zynqmp-r5-axu4ev [bsp][drv_gpio] fix the error code return when pin number is illegal 2024-03-24 09:18:25 +08:00
.clang-format [clang-format] 增加clang-format格式化配置,通过ide或者手动运行tools/run-clang-format.py进行代码自动格式化 2024-04-21 01:18:37 -04:00
Copyright_Notice.md
README.md [bsp] remove gd32 in the root 2023-11-20 07:34:46 -05:00

README.md

RT-THREAD bsp company list