You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Adds a feature flag called 'Interposable' which allows clients to
replace the memory interface of register banks and registers with a
custom interposer. Interposers must conform the `MMIOInterposer`
protocol which has two simple requirements: `load(from:)` and
`store(_:to:)`.
Interposers can be used to unit test the correctness of drivers and
other structures which abstract over MMIO operations.
Internally MMIO uses a new type called MMIOTracingInterposer to test the
interposer functionality. This type may become public API in the future
to help clients test their code without needing to make their own type
conforming to `MMIOInterposer`.
0 commit comments