Skip to main content

Module config

Module config 

Source
Expand description

Types and macros for VirtIO device configuration space.

Macros§

read_config
Reads the given field of the given struct from the device config space via the given transport.
write_config
Writes the given field of the given struct from the device config space via the given transport.

Structs§

ReadOnly
A configuration space register from which the driver can only read.
ReadWrite
A configuration space register which the driver may both read and write.
WriteOnly
A configuration space register to which the driver can only write.

Traits§

ConfigReadable
Marker trait for configuration space registers from which the driver may read.
ConfigWritable
Marker trait for configuration space registers to which the driver may write.