Crate driver_common
source ·Expand description
Device driver interfaces used by ArceOS. It provides common traits and types for implementing a device driver.
You have to use this crate with the following crates for corresponding device types:
driver_block
: Common traits for block storage drivers.driver_display
: Common traits and types for graphics display drivers.driver_net
: Common traits and types for network (NIC) drivers.
Enums
- The error type for device operation failures.
- All supported device types.
Traits
- Common operations that require all device drivers to implement.
Type Aliases
- A specialized
Result
type for device operations.