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§

device_manager
IO Device Manager to handle trapped MMIO/PIO access requests.
resources
Descriptors representing device resource allocation requirements and assigned resources.

Structs§

IoAddress
Memory Mapped IO (MMIO) address.
IoSize
Size of MMIO range/access request.
PioAddress
Port IO (PIO) address.
PioSize
Size of Port I/O range/request.

Traits§

DeviceIo
Trait for device to handle trapped MMIO/PIO access requests with interior mutability for high performance.
DeviceIoMut
Trait for device to handle trapped MMIO/PIO access requests.