Module devices::bus

source ·
Expand description

Handles routing to devices in an address space.

Structs

  • A device container for routing reads and writes over some address space.
  • Information about how a device was accessed.
  • BusEntry 🔒
  • Holds a base and length representing the address space occupied by a BusDevice.
  • Result of a write to a device’s PCI configuration space. This value represents the state change(s) that occurred due to the write.

Enums

Traits

  • Trait for devices that respond to reads or writes in an arbitrary address space.
  • Trait for generic device abstraction, that is, all devices that reside on BusDevice and want to be converted back to its original type. Each new foo device must provide as_foo_device() + as_foo_device_mut() + into_foo_device(), default impl methods return None.
  • Trait for devices that notify hotplug event into guest

Type Definitions