[][src]Struct kernel::page::Table

#[repr(C)]#[repr(align(4096))]pub struct Table {
    pub entries: [Entry; 512],
}

Fields

entries: [Entry; 512]

Implementations

impl Table[src]

pub const fn new() -> Self[src]

pub const fn len(&self) -> usize[src]

pub fn map(&mut self, vaddr: usize, pg: Box<Page>, flags: usize)[src]

pub fn kernel_map(&mut self, vaddr: usize, paddr: usize, flags: usize)[src]

fn map_addr(&mut self, vaddr: usize, paddr: usize, flags: usize, level: usize)[src]

pub fn paddr_of(&self, vaddr: usize) -> Option<usize>[src]

fn _walk(&self, level: usize, vpn: usize)[src]

pub fn walk(&self)[src]

pub fn id_map_range(&mut self, start: usize, end: usize, bits: usize)[src]

pub fn map_range(
    &mut self,
    start: usize,
    end: usize,
    vaddr_start: usize,
    bits: usize
)
[src]

fn drop_walk(&mut self, level: usize)[src]

fn clone_walk(&self, level: usize) -> Box<Self>[src]

pub fn unmap_user(&mut self)[src]