Home
last modified time | relevance | path

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

/DragonOS-0.1.5/kernel/src/mm/
Dmm.c71 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()
86 if (memory_management_struct.e820[i].type != 1) in mm_init()
90 ul addr_start = PAGE_2M_ALIGN(memory_management_struct.e820[i].BaseAddr); in mm_init()
92 …ul addr_end = ((memory_management_struct.e820[i].BaseAddr + memory_management_struct.e820[i].Lengt… in mm_init()
103 …max_addr = memory_management_struct.e820[memory_management_struct.len_e820].BaseAddr + memory_mana… in mm_init()
141 if (memory_management_struct.e820[i].type != 1) // 不是操作系统可以使用的物理内存 in mm_init()
143 ul addr_start = PAGE_2M_ALIGN(memory_management_struct.e820[i].BaseAddr); in mm_init()
144 …ul addr_end = (memory_management_struct.e820[i].BaseAddr + memory_management_struct.e820[i].Length… in mm_init()
Dmm-types.h49 struct ARDS e820[32]; // 物理内存段结构数组 member