Home
last modified time | relevance | path

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

/DragonOS-0.1.5/kernel/src/mm/
Dmm.c90 ul addr_start = PAGE_2M_ALIGN(memory_management_struct.e820[i].BaseAddr); 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()
143 ul addr_start = PAGE_2M_ALIGN(memory_management_struct.e820[i].BaseAddr); in mm_init() local
146 if (addr_end <= addr_start) in mm_init()
153 z->zone_addr_start = addr_start; 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()
165 …z->pages_group = (struct Page *)(memory_management_struct.pages_struct + (addr_start >> PAGE_2M_SH… in mm_init()
[all …]
/DragonOS-0.1.5/kernel/src/common/
Dglib.h201 bool verify_area(uint64_t addr_start, uint64_t length) in verify_area() argument
203 if ((addr_start + length) <= 0x00007fffffffffffUL) // 用户程序可用的的地址空间应<= 0x00007fffffffffffUL in verify_area()