nuttx/drivers/virtio
Tiago Medicci Serrano 6b1be7c66c virtio-rng: Register /dev/urandom driver if CONFIG_DEV_URANDOM=y
Virtio RNG support (CONFIG_DRIVERS_VIRTIO_RNG=y) selects
CONFIG_ARCH_HAVE_RNG. On the other hand, if CONFIG_DEV_URANDOM=y,
it defaults to CONFIG_DEV_URANDOM_ARCH if CONFIG_ARCH_HAVE_RNG=y.
DEV_URANDOM_ARCH definition states that the implementation of the
/dev/urandom should be provided by the architecture-specifig logic,
including the function devurandom_register(). In this case, the
/dev/urandom may refer to the same driver as /dev/random that is
provided by the Virtio RNG driver, which is implemented by this
commit.
2025-01-03 08:52:20 +08:00
..
CMakeLists.txt
Kconfig
Make.defs
virtio-blk.c
virtio-blk.h
virtio-gpu.c
virtio-gpu.h
virtio-input.c
virtio-input.h
virtio-mmio.c
virtio-net.c
virtio-net.h
virtio-pci-legacy.c
virtio-pci-modern.c
virtio-pci.c
virtio-pci.h
virtio-rng.c
virtio-rng.h
virtio-rpmb.c
virtio-rpmb.h
virtio-serial.c
virtio-serial.h
virtio-snd.c
virtio-snd.h
virtio.c