[Bug] it's not proper to define RISCV_S_MODE in bsp level #9670
Labels
Arch: RISC-V
BSP related with risc-v
BSP: Cvitek
BSP related with cvitek
BSP
RT-Smart
RT-Thread Smart related PR or issues
RT-Thread Version
master
Hardware Type/Architectures
bsp/qemu-virt64-riscv
Develop Toolchain
Other
Describe the bug
搜索 RISCV_S_MODE 会发现这个宏开关影响的是 libcpu 层级的代码。
可是目前这个配置开关却定义在 bsp/qemu-virt64-riscv/driver/Kconfig,这是不合理的。
应该定义在内核 libcpu 中,bsp 使用(select) 就好了。
Other additional context
No response
The text was updated successfully, but these errors were encountered: