Trait mycelium_kernel::arch::mm::Level
source · pub trait Level {
const NAME: &'static str;
const SUBLEVELS: usize;
const INDEX_SHIFT: usize = 12 + 9 * Self::SUBLEVELS;
fn table_addr(v: VAddr) -> VAddr;
fn index_of(v: VAddr) -> usize { ... }
}