Searched refs:mb2_mem_info (Results 1 – 1 of 1) sorted by relevance
231 let mut mb2_mem_info: [multiboot_mmap_entry_t; 512] = mem::zeroed(); in init_memory_area_from_multiboot2() localVariable237 &mut mb2_mem_info as *mut [multiboot_mmap_entry_t; 512] as usize as *mut c_void, in init_memory_area_from_multiboot2()247 if mb2_mem_info[i].type_ == 1 { in init_memory_area_from_multiboot2()249 if mb2_mem_info[i].len == 0 { in init_memory_area_from_multiboot2()252 total_mem_size += mb2_mem_info[i].len as usize; in init_memory_area_from_multiboot2()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()