Home
last modified time | relevance | path

Searched refs:phys (Results 1 – 4 of 4) sorted by relevance

/DragonOS-0.1.8/kernel/src/mm/
Dpage.rs25 phys: PhysAddr, field
33 pub unsafe fn new(base: VirtAddr, phys: PhysAddr, level: usize) -> Self { in new()
36 phys, in new()
61 pub fn phys(&self) -> PhysAddr { in phys() method
62 self.phys in phys()
80 return Arch::phys_2_virt(self.phys).unwrap(); in virt()
513 return unsafe { self.table().phys() == Arch::table(self.table_kind) }; in is_current()
551 let phys: PhysAddr = self.frame_allocator.allocate_one()?; in map() localVariable
553 return self.map_phys(virt, phys, flags); in map()
560 phys: PhysAddr, in map_phys()
[all …]
Dmod.rs426 unsafe fn phys_2_virt(phys: PhysAddr) -> Option<VirtAddr> { in phys_2_virt()
427 if let Some(vaddr) = phys.data().checked_add(Self::PHYS_OFFSET) { in phys_2_virt()
Ducontext.rs578 PhysPageFrame::new(self.utable.table().phys()), in drop()
1032 phys: PhysPageFrame, in physmap()
1040 let mut cur_phy = phys; in physmap()
/DragonOS-0.1.8/kernel/src/arch/x86_64/mm/
Dmod.rs350 new_page_table = mapper.table().phys(); in allocator_init()