Records

Functions

  • zx::result<std::pair<zx::bti, std::unique_ptr<virtio::Backend>>> GetBtiAndBackend (fidl::ClientEnd<fuchsia_hardware_pci::Device> pci)

    Defined at line 17 of file ../../src/devices/bus/lib/virtio/driver_utils.cc

  • zx::result<std::pair<zx::bti, std::unique_ptr<virtio::Backend>>> GetBtiAndBackend (zx_device_t * bus_device)

    Get the bti and virtio backend for a given pci virtio device.

    Defined at line 19 of file ../../src/devices/bus/lib/virtio/driver_utils_dfv1.cc

  • void virtio_dump_desc (const struct vring_desc * desc)

    Defined at line 22 of file ../../src/devices/bus/lib/virtio/ring.cc

  • template <class VirtioDeviceclass = typename std::enable_if<
                                                                  std::is_base_of<virtio::Device, VirtioDevice>::value>::type>
    zx_status_t CreateAndBind (void * zx_device_t * device)

    Creates a Virtio device by determining the backend and moving that into

    |VirtioDevice|'s constructor, then call's the device's Init() method. The

    device's Init() is expected to call DdkAdd. On success, ownership of the device

    is released to devmgr.

    Defined at line 28 of file ../../src/devices/bus/lib/virtio/include/lib/virtio/driver_utils_dfv1.h