Skip to main content

Module embedded

Module embedded 

Source
Expand description

Embedded in-situ driver library (driver_lab_rust::embedded) for DFv2 Rust drivers (Spec Phase 2 Sections 2 & 3.1).

Enables an active, bound driver to register its mapped MMIO banks (via VMO duplication), protocol resources, and interrupt channels with an embedded fuchsia.driver.lab server published on the driver’s outgoing [ServiceFs].

Structs§

DriverLabBuilder
Builder for configuring and instantiating an EmbeddedLabServer inside an existing DFv2 driver.
EmbeddedLabServer
Handle to the embedded fuchsia.driver.lab server running inside an existing DFv2 driver.
StateBank
Word-addressed software state bank exposing observable driver state slots, policy-gated runtime knobs, read probes, and diagnostic triggers.
StateSlotHandle
Lock-free handle to a 32-bit state slot or runtime knob shared between an instrumented driver and a StateBank.

Enums§

StateEntry
Entry bound to a 4-byte aligned offset inside a StateBank.