pub struct LockedMemorySpawner;Expand description
A DMA client spawner that allocates memory at arbitrary locations in VTL2’s address space. Use this spawner when you don’t care about the PFNs being contiguous or able to survive an OpenHCL servicing event.
Trait Implementations§
Source§impl Clone for LockedMemorySpawner
impl Clone for LockedMemorySpawner
Source§fn clone(&self) -> LockedMemorySpawner
fn clone(&self) -> LockedMemorySpawner
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl DmaClient for LockedMemorySpawner
impl DmaClient for LockedMemorySpawner
Source§fn allocate_dma_buffer(&self, len: usize) -> Result<MemoryBlock>
fn allocate_dma_buffer(&self, len: usize) -> Result<MemoryBlock>
Allocate a new DMA buffer. This buffer must be zero initialized. Read more
Source§fn attach_pending_buffers(&self) -> Result<Vec<MemoryBlock>>
fn attach_pending_buffers(&self) -> Result<Vec<MemoryBlock>>
Attach all previously allocated memory blocks.
Auto Trait Implementations§
impl Freeze for LockedMemorySpawner
impl RefUnwindSafe for LockedMemorySpawner
impl Send for LockedMemorySpawner
impl Sync for LockedMemorySpawner
impl Unpin for LockedMemorySpawner
impl UnwindSafe for LockedMemorySpawner
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more