mirror of
https://github.com/apache/nuttx.git
synced 2026-06-02 17:48:54 +08:00
riscv/qemu-rv: add cluster PLIC/CLINT configs
This adds cluster specific configs for PLIC, CLINT and ACLINT devices. Signed-off-by: Yanfeng Liu <yfliu2008@qq.com>
This commit is contained in:
@@ -40,4 +40,24 @@ config ARCH_CHIP_QEMU_RV_ISA_V
|
|||||||
default n
|
default n
|
||||||
select ARCH_RV_ISA_V
|
select ARCH_RV_ISA_V
|
||||||
|
|
||||||
endif
|
config ARCH_CHIP_QEMU_RV_CLUSTER
|
||||||
|
bool "Enable cluster support"
|
||||||
|
default n
|
||||||
|
|
||||||
|
if ARCH_CHIP_QEMU_RV_CLUSTER
|
||||||
|
|
||||||
|
config ARCH_CHIP_QEMU_RV_PLIC
|
||||||
|
hex "Base address of PLIC device"
|
||||||
|
default 0xc000000
|
||||||
|
|
||||||
|
config ARCH_CHIP_QEMU_RV_CLINT
|
||||||
|
hex "Base address of CLINT device"
|
||||||
|
default 0x2000000
|
||||||
|
|
||||||
|
config ARCH_CHIP_QEMU_RV_ACLINT
|
||||||
|
hex "Base address of ACLINT device"
|
||||||
|
default 0x2f00000
|
||||||
|
|
||||||
|
endif # ARCH_CHIP_QEMU_RV_CLUSTER
|
||||||
|
|
||||||
|
endif # ARCH_CHIP_QEMU_RV
|
||||||
|
|||||||
Reference in New Issue
Block a user