This commit adds the API for accessing VIRTIO devices, and adds a driver for a VIRTIO PCIE device based on the newly added API. This commit is based on the Virtual I/O Device (VIRTIO) Version 1.3 specification: https://docs.oasis-open.org/virtio/virtio/v1.3/csd01/virtio-v1.3-csd01.pdf Signed-off-by: Jakub Michalski <jmichalski@antmicro.com> Signed-off-by: Filip Kokosinski <fkokosinski@antmicro.com>
23 lines
428 B
Plaintext
23 lines
428 B
Plaintext
# Copyright (c) 2024 Antmicro <www.antmicro.com>
|
|
# SPDX-License-Identifier: Apache-2.0
|
|
|
|
config VIRTIO
|
|
bool "support for VIRTIO"
|
|
help
|
|
Enable options for VIRTIO
|
|
|
|
if VIRTIO
|
|
|
|
config VIRTIO_PCI
|
|
bool "support for VIRTIO over PCI"
|
|
default y
|
|
depends on DT_HAS_VIRTIO_PCI_ENABLED
|
|
help
|
|
Enable options for VIRTIO over PCI
|
|
|
|
endif # VIRTIO
|
|
|
|
module = VIRTIO
|
|
module-str = VIRTIO
|
|
source "subsys/logging/Kconfig.template.log_config"
|