Home
last modified time | relevance | path

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

/DragonOS-0.1.7/kernel/src/mm/
Dmmap.c100 ul *pml4e_ptr = pml4_ptr + pml4e_id; in mm_map_proc_page_table() local
103 if (*pml4e_ptr == 0) in mm_map_proc_page_table()
107 … set_pml4t(pml4e_ptr, mk_pml4t(virt_2_phys(virt_addr), (user ? PAGE_USER_PGT : PAGE_KERNEL_PGT))); in mm_map_proc_page_table()
111 uint64_t *pdpt_ptr = (uint64_t *)phys_2_virt(*pml4e_ptr & (~0xfffUL)); in mm_map_proc_page_table()
225 ul *pml4e_ptr = NULL; in mm_unmap_proc_table() local
226 pml4e_ptr = pml4_ptr + pml4e_id; in mm_unmap_proc_table()
229 if (*pml4e_ptr == 0) in mm_unmap_proc_table()
235 uint64_t *pdpt_ptr = (uint64_t *)phys_2_virt(*pml4e_ptr & (~0xfffUL)); in mm_unmap_proc_table()
302 *pml4e_ptr = 0; in mm_unmap_proc_table()