Crate dbs_device
source · [−]Expand description
Device model for Dragonball Secure Sandbox.
The dbs-device
crate, as a counterpart of vm-device, defines device model for the
Dragonball Secure Sandbox. The dbs-device
crate shares some common concepts and data structures
with vm-device, but it also diverges from vm-device due to different VMM designs.
Modules
IO Device Manager to handle trapped MMIO/PIO access requests.
Descriptors representing device resource allocation requirements and assigned resources.
Structs
Memory Mapped IO (MMIO) address.
Size of MMIO range/access request.
Port IO (PIO) address.
Size of Port I/O range/request.
Traits
Trait for device to handle trapped MMIO/PIO access requests with interior mutability
for high performance.
Trait for device to handle trapped MMIO/PIO access requests.