Searched refs:areas_count (Results 1 – 1 of 1) sorted by relevance
149 let areas_count = in init() localVariable153 return &PHYS_MEMORY_AREAS[0..areas_count]; in init()243 let mut areas_count = 0usize; in init_memory_area_from_multiboot2() localVariable253 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()255 areas_count += 1; in init_memory_area_from_multiboot2()261 return Ok(areas_count); in init_memory_area_from_multiboot2()