Lines Matching refs:X86_64MMArch
38 crate::mm::page::PageMapper<crate::arch::x86_64::mm::X86_64MMArch, LockedFrameAllocator>;
51 static KERNEL_PML4E_NO: usize = (X86_64MMArch::PHYS_OFFSET & ((1 << 48) - 1)) >> 39;
77 pub struct X86_64MMArch; struct
82 impl MemoryManagementArch for X86_64MMArch { implementation
205 let new_umapper: crate::mm::page::PageMapper<X86_64MMArch, LockedFrameAllocator> = unsafe { in setup_new_usermapper()
212 let entry: PageEntry<X86_64MMArch> = current_ktable in setup_new_usermapper()
228 impl X86_64MMArch { impl
285 let x = self.data() & X86_64MMArch::PHYS_OFFSET; in is_canonical()
288 return x == 0 || x == X86_64MMArch::PHYS_OFFSET; in is_canonical()
308 unsafe { X86_64MMArch::init() }; in mm_init()
329 BumpAllocator::<X86_64MMArch>::new(&PHYS_MEMORY_AREAS, phy_offset.data()); in allocator_init()
393 let buddy_allocator = unsafe { BuddyAllocator::<X86_64MMArch>::new(bump_allocator).unwrap() }; in allocator_init()