Home
last modified time | relevance | path

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

/DragonOS-0.1.2/kernel/src/mm/
Dmm.c92 …ul addr_end = ((memory_management_struct.e820[i].BaseAddr + memory_management_struct.e820[i].Lengt… in mm_init() local
95 if (addr_end <= addr_start) in mm_init()
98 mm_total_2M_pages += ((addr_end - addr_start) >> PAGE_2M_SHIFT); in mm_init()
144 …ul addr_end = (memory_management_struct.e820[i].BaseAddr + memory_management_struct.e820[i].Length… in mm_init() local
146 if (addr_end <= addr_start) in mm_init()
154 z->zone_addr_end = addr_end; in mm_init()
155 z->zone_length = addr_end - addr_start; in mm_init()
158 z->count_pages_free = (addr_end - addr_start) >> PAGE_2M_SHIFT; in mm_init()
164 z->count_pages = (addr_end - addr_start) >> PAGE_2M_SHIFT; in mm_init()