mirror of
https://github.com/RT-Thread/rt-thread.git
synced 2025-02-01 01:30:26 +08:00
123ed1be1b
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>
44 lines
964 B
Plaintext
44 lines
964 B
Plaintext
menu "RISC-V QEMU virt64 configs"
|
|
|
|
config BSP_USING_VIRTIO
|
|
bool "Using VirtIO"
|
|
default y
|
|
depends on RT_USING_DEVICE_OPS
|
|
|
|
config BSP_USING_VIRTIO_BLK
|
|
bool "Using VirtIO BLK"
|
|
select RT_USING_VIRTIO
|
|
select RT_USING_VIRTIO_BLK
|
|
default y
|
|
depends on BSP_USING_VIRTIO
|
|
|
|
config BSP_USING_VIRTIO_NET
|
|
bool "Using VirtIO NET"
|
|
select RT_USING_VIRTIO
|
|
select RT_USING_VIRTIO_NET
|
|
default y
|
|
depends on BSP_USING_VIRTIO
|
|
|
|
config BSP_USING_VIRTIO_CONSOLE
|
|
bool "Using VirtIO Console"
|
|
select RT_USING_VIRTIO
|
|
select RT_USING_VIRTIO_CONSOLE
|
|
default y
|
|
depends on BSP_USING_VIRTIO
|
|
|
|
config BSP_USING_VIRTIO_GPU
|
|
bool "Using VirtIO GPU"
|
|
select RT_USING_VIRTIO
|
|
select RT_USING_VIRTIO_GPU
|
|
default y
|
|
depends on BSP_USING_VIRTIO
|
|
|
|
config BSP_USING_VIRTIO_INPUT
|
|
bool "Using VirtIO Input"
|
|
select RT_USING_VIRTIO
|
|
select RT_USING_VIRTIO_INPUT
|
|
default y
|
|
depends on BSP_USING_VIRTIO
|
|
|
|
endmenu
|