nuttx/arch/risc-v/src/nuttsbi/Kconfig
Inochi Amaoto bd895222eb arch/risc-v: implement sbi_ipi_send
And SBI ipi support.

Fixup: 4f63ca1418 ("arch/risc-v: unfiy IPI access)
Signed-off-by: Inochi Amaoto <inochiama@outlook.com>
2024-05-02 16:08:13 +08:00

41 lines
835 B
Plaintext

# S-mode requires a Supervisor Binary Interface (SBI) in order to access
# M-mode ISA. A minimalistic SBI is provided here natively.
config NUTTSBI
bool "Use NuttX native SBI"
default n
depends on ARCH_RISCV && ARCH_USE_S_MODE
---help---
Use NuttX minimalistic SBI
if NUTTSBI
config NUTTSBI_HART_CNT
int "Amount of harts in SoC"
default 1
config NUTTSBI_IPI_BASE
hex "MSWI base address"
default 0
---help---
Sets the address of mtimecmp memory mapped register
config NUTTSBI_MTIME_BASE
hex "MTIME base address"
default 0
---help---
Sets the address of mtime memory mapped register
config NUTTSBI_MTIMECMP_BASE
hex "MTIMECMP base address"
default 0
---help---
Sets the address of mtimecmp memory mapped register
config NUTTSBI_LATE_INIT
bool "Target has sbi_late_init() implementation"
default n
endif