Module bus

Module bus 

Source
Expand description

Provides abstractions for modelling an I/O bus.

A bus is seen here as a mapping between disjoint intervals (ranges) from an address space and objects (devices) associated with them. A single device can be registered with multiple ranges, but no two ranges can overlap, regardless with their device associations.

Structs§

Bus
A bus that’s agnostic to the range address type and device type.
BusRange
An interval in the address space of a bus.
MmioAddress
Represents a MMIO address.
PioAddress
Represents a PIO address.

Enums§

Error
Errors encountered during bus operations.

Traits§

BusManager
Helper trait that can be implemented by types which hold one or more buses.

Type Aliases§

MmioAddressOffset
Represents a MMIO address offset.
MmioBus
Represents an MMIO bus.
MmioRange
Represents an MMIO bus range.
PioAddressOffset
Represents a PIO address offset.
PioBus
Represents a PIO bus.
PioRange
Represents a PIO bus range.