Crate driver_virtio

source ·
Expand description

Wrappers of some devices in the virtio-drivers crate, that implement traits in the driver_common series crates.

Like the virtio-drivers crate, you must implement the VirtIoHal trait (alias of virtio-drivers::Hal), to allocate DMA regions and translate between physical addresses (as seen by devices) and virtual addresses (as seen by your program).

Modules

  • Module for dealing with a PCI bus in general, without anything specific to VirtIO.

Structs

Enums

Traits

  • A VirtIO transport layer.
  • The interface which a particular hardware implementation must implement.

Functions

Type Aliases

  • A physical address as used for virtio.