Home
last modified time | relevance | path

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

/DragonOS-0.1.2/kernel/src/mm/
Dmmap.c135 ul *pde_ptr = pd_ptr + pde_id; in mm_map_proc_page_table() local
140 if (*pde_ptr == 0) in mm_map_proc_page_table()
145 … set_pdt(pde_ptr, mk_pdt(virt_2_phys(vaddr), (user ? PAGE_USER_PDE : PAGE_KERNEL_PDE))); in mm_map_proc_page_table()
147 else if (unlikely(*pde_ptr & (1 << 7))) in mm_map_proc_page_table()
154 uint64_t *pt_ptr = (uint64_t *)phys_2_virt(*pde_ptr & (~0xfffUL)); in mm_map_proc_page_table()
172 if (unlikely((*pde_ptr != 0) && user == true)) in mm_map_proc_page_table()
181 …set_pdt(pde_ptr, mk_pdt((ul)phys_addr_start + length_mapped, flags | (user ? PAGE_USER_PAGE : PAGE… in mm_map_proc_page_table()
260 ul *pde_ptr = pd_ptr + pde_id; in mm_unmap_proc_table() local
263 if (((*pde_ptr) & (1 << 7)) == 0) in mm_unmap_proc_table()
267 uint64_t *pt_ptr = (uint64_t *)phys_2_virt(*pde_ptr & (~0xfffUL)); in mm_unmap_proc_table()
[all …]