Home
last modified time | relevance | path

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

/DragonOS-0.1.2/kernel/src/process/
Dprocess.c242 int64_t remain_mem_size = phdr->p_memsz; in process_load_elf_file() local
249 if (remain_mem_size >= PAGE_2M_SIZE) // 接下来存在映射2M页的情况,因此将vaddr按2M向下对齐 in process_load_elf_file()
255 remain_mem_size += beginning_offset; in process_load_elf_file()
257 while (remain_mem_size > 0) in process_load_elf_file()
261 if (remain_mem_size >= PAGE_2M_SIZE) in process_load_elf_file()
281 map_size = ALIGN(remain_mem_size, PAGE_4K_SIZE); in process_load_elf_file()
312 remain_mem_size -= map_size; in process_load_elf_file()