rt-thread/bsp/qemu-virt64-riscv/driver
Chen Wang 123ed1be1b bsp: qemu-virt64-riscv: remove config RISCV_S_MODE
RISCV_S_MODE configuration only affects the code in
libcpu/risc-v/virt64, and the only bsp using this
libcpu is qemu-virt64-riscv.

Considering s-mode is the default mode RT-Thread
running on virt64 machine, it seems unnecessary to
make RISCV_S_MODE a Kconfig option.

Solution: Remove RISCV_S_MODE from Kconfig and define
it as a macro in the code in libcpu/risc-v/virt64.

Plus, due to this macro is only related to virt64, rename
RISCV_S_MODE to RISCV_VIRT64_S_MODE.

Update the .config/rtconfig.h in this patch.

Signed-off-by: Chen Wang <unicorn_wang@outlook.com>
2025-01-10 17:14:13 +08:00
..
asm [bsp] rename qemu-riscv-virt64 to qemu-virt64-riscv 2022-05-25 10:05:23 +08:00
Kconfig bsp: qemu-virt64-riscv: remove config RISCV_S_MODE 2025-01-10 17:14:13 +08:00
SConscript [bsp] rename qemu-riscv-virt64 to qemu-virt64-riscv 2022-05-25 10:05:23 +08:00
board.c [libcpu] rv64: support for ARCH_REMAP_KERNEL (#9067) 2024-06-18 11:15:59 +08:00
board.h [bsp][qemu-virt64-riscv]修正内存大小超限制的问题 2025-01-08 17:54:34 -05:00
drv_uart.c [bsp/qemu-riscv]修正打开串口后中断被关闭的问题 (#9035) 2024-06-05 09:52:32 +08:00
drv_uart.h sync branch rt-smart. (#6641) 2022-12-03 12:07:44 +08:00
drv_virtio.c bsp: qemu-virt64-riscv: Kconfig: remove duplicated RT_USING_VIRTIO 2024-12-25 00:42:05 -05:00
drv_virtio.h sync branch rt-smart. (#6641) 2022-12-03 12:07:44 +08:00
virt.h [rt-smart] kernel virtual memory management layer (#6809) 2023-01-08 21:08:55 -05:00