mirror of
https://github.com/apache/nuttx.git
synced 2025-01-13 01:38:36 +08:00
6b1be7c66c
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. |
||
---|---|---|
.. | ||
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 |