Files
nuttx/drivers/rptun/Kconfig
T
Bowen Wang e369bce787 drivers/rptun: add panic and reset method for new rptun framework
Use share memory to send PANIC and RESET command to peer if the rptun
driver do not support panic() and reset ops.

Signed-off-by: Bowen Wang <wangbowen6@xiaomi.com>
Signed-off-by: ligd <liguiding1@xiaomi.com>
2026-01-19 14:18:27 +08:00

76 lines
1.8 KiB
Plaintext

#
# For a description of the syntax of this configuration file,
# see the file kconfig-language.txt in the NuttX tools repository.
#
menuconfig RPTUN
bool "Remote Proc Tunnel Driver Support"
default n
select RPMSG_VIRTIO
---help---
RPTUN driver is used for multi-cores' communication.
if RPTUN
config RPTUN_BMP
bool "rptun bmp support"
default n
---help---
This is a rptun driver for communications in bmp
environments. With this driver, Each ends communicate with each
other by using the native rpmsg
or various Rpmsg services have been implemented in NuttX.
config RPTUN_IVSHMEM
bool "rptun ivshmem support"
default n
depends on PCI_IVSHMEM && DEV_SIMPLE_ADDRENV
---help---
This is rptun driver based on pci ivshmem.
if RPTUN_IVSHMEM
config RPTUN_IVSHMEM_NAME
string "rptun ivshmem name"
---help---
Using this config to custom the rptun ivshmem cpuname and role,
using ";" to split the names.
For example, if RPTUN_IVSHMEM_CPUNAME = "0:cpu1:m;1:cpu2:s" and pass
two ivshmem devices to the qemu, we will get two rptun ivshmem
drivers with ivshmem device match id: [0, 1],
remote cpu names: ["cpu1", "cpu2"] and roles: ["master", "slave"']
config RPTUN_IVSHMEM_BUFFSIZE
int "rptun ivshmem rpmsg buffer size"
default 2048
---help---
The rpmsg buffer size in resource table, the RX and TX buffer size
are same for now.
config RPTUN_IVSHMEM_BUFFNUM
int "rptun ivshmem rpmsg buffer number"
default 8
---help---
The rpmsg buffer number in resource table, the RX and TX buffer number
are same for now.
endif
config RPTUN_PRIORITY
int "rptun thread priority"
default 224
config RPTUN_STACKSIZE
int "rptun stack size"
default 4096
config RPTUN_CMD_TIMEOUT_MS
int "rptun cmd timeout ms"
default 5000
config RPTUN_LOADER
bool "rptun loader support"
default n
endif # RPTUN