Home
last modified time | relevance | path

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

/DragonOS-0.1.5/kernel/src/process/
Dprocess.c268 int64_t remain_mem_size = phdr->p_memsz; in process_load_elf_file() local
275 if (remain_mem_size >= PAGE_2M_SIZE) // 接下来存在映射2M页的情况,因此将vaddr按2M向下对齐 in process_load_elf_file()
281 remain_mem_size += beginning_offset; in process_load_elf_file()
283 while (remain_mem_size > 0) in process_load_elf_file()
287 if (remain_mem_size >= PAGE_2M_SIZE) in process_load_elf_file()
307 map_size = ALIGN(remain_mem_size, PAGE_4K_SIZE); in process_load_elf_file()
364 remain_mem_size -= map_size; in process_load_elf_file()