Home
last modified time | relevance | path

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

/DragonOS-0.1.8/kernel/src/mm/allocator/
Dkernel_allocator.rs29 let (phy_addr, allocated_frame_count) = LockedFrameAllocator in alloc_in_buddy()
33 let virt_addr = unsafe { MMArch::phys_2_virt(phy_addr).ok_or(AllocError)? }; in alloc_in_buddy()
51 let phy_addr = MMArch::virt_2_phys(VirtAddr::new(ptr as usize)).unwrap(); in free_in_buddy() localVariable
52 LockedFrameAllocator.free(phy_addr, page_frame_count); in free_in_buddy()