Expand description
Testing utilities for creating fakes for MMIO driver library.
See the inject module for details on the dependency-injection patterns
provided by this crate.
FakeMmioDevice provides a wrapper to implement device-side fakes based
on side-effects on a shared VMO.
Modules§
- inject
- MMIO operation injection support for intercepting MMIO access.
Structs§
- Cached
VmoMemory - A wrapper around
VmoMemoryguaranteed to be mapped with cached memory policy. - Fake
Mmio Device - Provides a wrapper around
MmioandAtomicMmioimplementations for register access in tests from the perspective of a device.
Traits§
- Atomic
Mmio - An extension trait applied to
MmioRegionto support atomic operations. - Mmio
Operand - Trait for MMIO operand types that can be loaded or stored via a test handler.