Lines Matching refs:PhysAddr
26 use crate::mm::{MemoryManagementArch, PageTableKind, PhysAddr, PhysMemoryArea, VirtAddr};
42 base: PhysAddr::new(0),
47 static mut INITIAL_CR3_VALUE: PhysAddr = PhysAddr::new(0);
172 unsafe fn table(_table_kind: PageTableKind) -> PhysAddr { in table() argument
177 return PhysAddr::new(paddr); in table()
181 unsafe fn set_table(_table_kind: PageTableKind, table: PhysAddr) { in set_table() argument
193 fn initial_page_table() -> PhysAddr { in initial_page_table()
253 PHYS_MEMORY_AREAS[areas_count].base = PhysAddr::new(mb2_mem_info[i].addr as usize); in init_memory_area_from_multiboot2()
311 MMArch::phys_2_virt(PhysAddr::new(0)).unwrap().data() in mm_init()
340 let new_page_table: PhysAddr; in allocator_init()
443 let mut v: Vec<(PhysAddr, PageFrameCount)> = Vec::with_capacity(60 * 1024); in test_buddy()
445 let mut addr_set: HashSet<PhysAddr> = HashSet::new(); in test_buddy()
532 ) -> Option<(PhysAddr, PageFrameCount)> { in allocate() argument
542 address: crate::mm::PhysAddr, in free() argument
595 let paddr = PhysAddr::new(i * MMArch::PAGE_SIZE); in remap_at_low_address()