[][src]Trait x86_64::structures::paging::FrameAllocator

pub trait FrameAllocator<S: PageSize> {
    fn allocate_frame(&mut self) -> Option<PhysFrame<S>>;
}

A trait for types that can allocate a frame of memory.

Required methods

fn allocate_frame(&mut self) -> Option<PhysFrame<S>>

Allocate a frame of the appropriate size and return it if possible.

Loading content...

Implementors

Loading content...