Struct kernel::process::Allocation [−] [src]

pub struct Allocation<T> {
    // some fields omitted
}

Methods

impl<T> Allocation<T>

fn zeroed(len: usize) -> Self

fn phys(len: usize, addr: usize) -> Self

fn shared(len: usize, shared: KObjRef<SharedMemBlock>) -> Self

fn user(self, user: bool) -> Self

fn writable(self, writable: bool) -> Self

fn base(self, base: *mut T) -> Self

fn allocate(self) -> Result<&'static mut [T]>