Home
last modified time | relevance | path

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

/DragonOS-0.1.3/kernel/src/mm/
Dmm.c635 uint64_t end_addr = PAGE_2M_ALIGN(old_brk_end_addr + offset); in mm_do_brk() local
638 for (uint64_t i = old_brk_end_addr; i < end_addr; i += PAGE_2M_SIZE) in mm_do_brk()
645 current_pcb->mm->brk_end = end_addr; in mm_do_brk()
651 for (uint64_t i = end_addr; i < old_brk_end_addr; i += PAGE_2M_SIZE) in mm_do_brk()
660 return end_addr; in mm_do_brk()
666 …mm_unmap_proc_table((uint64_t)phys_2_virt((uint64_t)current_pcb->mm->pgd), false, end_addr, PAGE_2… in mm_do_brk()
669 return end_addr; in mm_do_brk()