Expand description
Mock types for unit-testing various PCI behaviors.
Structs§
- Test
PciInterrupt Controller - A test-only interrupt controller that simply stashes incoming interrupt
requests in a FIFO queue. Implements
SignalMsi.
Traits§
- Test
CfgAccess - Test-only DWORD access helpers for config-space-like objects.
Functions§
- read_
cap_ u32 - Read a u32 from a
PciCapability. - read_
extended_ cap_ u32 - Read a u32 from a
PciExtendedCapability. - write_
cap_ u32 - Write a u32 to a
PciCapability. - write_
extended_ cap_ u32 - Write a u32 to a
PciExtendedCapability.