Lines Matching refs:VirtAddr
26 use crate::mm::{MemoryManagementArch, PageTableKind, PhysAddr, PhysMemoryArea, VirtAddr};
121 const USER_END_VADDR: VirtAddr = VirtAddr::new(0x0000_7eff_ffff_ffff);
122 const USER_BRK_START: VirtAddr = VirtAddr::new(0x700000000000);
123 const USER_STACK_START: VirtAddr = VirtAddr::new(0x6ffff0a00000);
157 unsafe fn invalidate_page(address: VirtAddr) { in invalidate_page() argument
188 fn virt_is_valid(virt: VirtAddr) -> bool { in virt_is_valid()
281 impl VirtAddr { implementation
325 unsafe { MMArch::virt_2_phys(VirtAddr::new(page_align_up(virt_offset))) }.unwrap(); in allocator_init()
557 pub unsafe fn kernel_page_flags<A: MemoryManagementArch>(virt: VirtAddr) -> PageFlags<A> { in kernel_page_flags()
596 let vaddr = VirtAddr::new(i * MMArch::PAGE_SIZE); in remap_at_low_address()
612 let vaddr = VirtAddr::new(i * MMArch::PAGE_SIZE); in unmap_at_low_address()