Searched refs:ppn (Results 1 – 4 of 4) sorted by relevance
172 let ppn = riscv::register::satp::read().ppn(); in table() localVariable174 let paddr = PhysPageFrame::from_ppn(ppn).phys_address(); in table()180 let ppn = PhysPageFrame::new(table).ppn(); in set_table() localVariable182 satp::set(satp::Mode::Sv39, 0, ppn); in set_table()246 let ppn = PhysPageFrame::new(paddr).ppn(); in make_entry() localVariable247 let r = ((ppn & ((1 << 54) - 1)) << 10) | page_flags; in make_entry()
29 pub fn from_ppn(ppn: usize) -> Self { in from_ppn()30 return Self { number: ppn }; in from_ppn()34 pub fn ppn(&self) -> usize { in ppn() method
262 .ppn() in reserve_memory_regions()263 - PhysPageFrame::new(PhysAddr::new(page_align_down(md.phys_start as usize))).ppn()) in reserve_memory_regions()
724 let ppn = ((self.data & (!((1 << 10) - 1))) >> 10) & ((1 << 54) - 1); in address() localVariable725 super::allocator::page_frame::PhysPageFrame::from_ppn(ppn).phys_address() in address()