Searched refs:proc_page_table_addr (Results 1 – 4 of 4) sorted by relevance
/DragonOS-0.1.3/docs/kernel/core_api/ |
D | mm-api.md | 154 ### `int mm_map_proc_page_table(ul proc_page_table_addr, bool is_phys, ul virt_addr_start, ul phys_… 162 **proc_page_table_addr** 203 ### `void mm_unmap_proc_table(ul proc_page_table_addr, bool is_phys, ul virt_addr_start, ul length)` 211 **proc_page_table_addr**
|
/DragonOS-0.1.3/kernel/src/mm/ |
D | mmap.c | 71 int mm_map_proc_page_table(ul proc_page_table_addr, bool is_phys, ul virt_addr_start, ul phys_addr_… in mm_map_proc_page_table() argument 90 pml4_ptr = phys_2_virt((ul *)((ul)proc_page_table_addr & (~0xfffUL))); in mm_map_proc_page_table() 92 pml4_ptr = (ul *)((ul)proc_page_table_addr & (~0xfffUL)); in mm_map_proc_page_table() 203 void mm_unmap_proc_table(ul proc_page_table_addr, bool is_phys, ul virt_addr_start, ul length) in mm_unmap_proc_table() argument 215 pml4_ptr = phys_2_virt((ul *)((ul)proc_page_table_addr & (~0xfffUL))); in mm_unmap_proc_table() 217 pml4_ptr = (ul *)((ul)proc_page_table_addr & (~0xfffUL)); in mm_unmap_proc_table()
|
D | mm.h | 421 int mm_map_proc_page_table(ul proc_page_table_addr, bool is_phys, ul virt_addr_start, ul phys_addr_… 434 void mm_unmap_proc_table(ul proc_page_table_addr, bool is_phys, ul virt_addr_start, ul length);
|
D | mm.c | 28 uint64_t mm_get_PDE(ul proc_page_table_addr, bool is_phys, ul virt_addr, bool clear); 530 uint64_t mm_get_PDE(ul proc_page_table_addr, bool is_phys, ul virt_addr, bool clear) in mm_get_PDE() argument 534 …tmp = phys_2_virt((ul *)((ul)proc_page_table_addr & (~0xfffUL)) + ((virt_addr >> PAGE_GDT_SHIFT) &… in mm_get_PDE() 536 … tmp = (ul *)((ul)proc_page_table_addr & (~0xfffUL)) + ((virt_addr >> PAGE_GDT_SHIFT) & 0x1ff); in mm_get_PDE()
|