mirror of
https://github.com/apache/nuttx.git
synced 2026-05-24 16:11:56 +08:00
virtio: Add virtio drivers
Summary: - This commit adds virtio-mmio and virtio-net drivers Impact: - None (new drivers) Testing: - Tested with rv-virt (will be updated later) with QEMU-7.1 Signed-off-by: Masayuki Ishikawa <Masayuki.Ishikawa@jp.sony.com>
This commit is contained in:
committed by
Xiang Xiao
parent
cdaa2ba8d4
commit
8b4ffb8d3e
@@ -790,6 +790,24 @@
|
||||
# define vinfo _none
|
||||
#endif
|
||||
|
||||
#ifdef CONFIG_DEBUG_VIRTIO_ERROR
|
||||
# define vrterr _err
|
||||
#else
|
||||
# define vrterr _none
|
||||
#endif
|
||||
|
||||
#ifdef CONFIG_DEBUG_VIRTIO_WARN
|
||||
# define vrtwarn _warn
|
||||
#else
|
||||
# define vrtwarn _none
|
||||
#endif
|
||||
|
||||
#ifdef CONFIG_DEBUG_VIRTIO_INFO
|
||||
# define vrtinfo _info
|
||||
#else
|
||||
# define vrtinfo _none
|
||||
#endif
|
||||
|
||||
/* Buffer dumping macros do not depend on varargs */
|
||||
|
||||
#ifdef CONFIG_DEBUG_ERROR
|
||||
|
||||
Reference in New Issue
Block a user