Function driver_virtio::probe_mmio_device
source · pub fn probe_mmio_device(
reg_base: *mut u8,
_reg_size: usize
) -> Option<(DeviceType, MmioTransport)>
Expand description
Try to probe a VirtIO MMIO device from the given memory region.
If the device is recognized, returns the device type and a transport object
for later operations. Otherwise, returns None
.