Struct driverkit::mem::DevMem[][src]

pub struct DevMem { /* fields omitted */ }
Expand description

Represents a consecutive region of physical memory pinned in memory.

Implementations

Allocates a chunk of consecutive physical, pinned memory. This should be usable by devices that do DMA.

Returns the physical address of the memory region.

Returns the virtual address of the memory region.

Returns a pointer to the memory region.

Returns the size of the memory region.

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.