Struct kernel::arch::mmu::AddressSpace [−] [src]

pub struct AddressSpace {
    // some fields omitted
}

Methods

impl AddressSpace

fn new(bitmap: Arc<PhysicalBitmap>) -> Result<AddressSpace>

unsafe fn switch(&self)

unsafe fn map<T>(&self, ptr: *const T, addr: usize, user: bool, writable: bool) -> Result<()>

Trait Implementations

impl Drop for AddressSpace

fn drop(&mut self)