Home
last modified time | relevance | path

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

/DragonOS-0.1.7/kernel/src/mm/
Dmm.c57 struct multiboot_mmap_entry_t mb2_mem_info[512]; in mm_init() local
60 multiboot2_iter(multiboot2_get_memory, mb2_mem_info, &count); in mm_init()
66 if (mb2_mem_info->type == 1) in mm_init()
67 mm_Total_Memory += mb2_mem_info->len; in mm_init()
71 memory_management_struct.e820[i].BaseAddr = mb2_mem_info[i].addr; in mm_init()
72 memory_management_struct.e820[i].Length = mb2_mem_info[i].len; in mm_init()
73 memory_management_struct.e820[i].type = mb2_mem_info[i].type; in mm_init()
77 if (mb2_mem_info[i].type > 4 || mb2_mem_info[i].len == 0 || mb2_mem_info[i].type < 1) in mm_init()