Home
last modified time | relevance | path

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

/DragonOS-0.1.8/kernel/src/arch/x86_64/mm/
Dmod.rs41 static mut PHYS_MEMORY_AREAS: [PhysMemoryArea; 512] = [PhysMemoryArea { variable
153 return &PHYS_MEMORY_AREAS[0..areas_count]; in init()
253 PHYS_MEMORY_AREAS[areas_count].base = PhysAddr::new(mb2_mem_info[i].addr as usize); in init_memory_area_from_multiboot2()
254 PHYS_MEMORY_AREAS[areas_count].size = mb2_mem_info[i].len as usize; in init_memory_area_from_multiboot2()
327 kdebug!("PhysArea[0..10] = {:?}", &PHYS_MEMORY_AREAS[0..10]); in allocator_init()
329 BumpAllocator::<X86_64MMArch>::new(&PHYS_MEMORY_AREAS, phy_offset.data()); in allocator_init()
365 for area in PHYS_MEMORY_AREAS.iter() { in allocator_init()