Searched refs:virt_addr_start (Results 1 – 3 of 3) sorted by relevance
/DragonOS-0.1.3/docs/kernel/core_api/ |
D | mm-api.md | 126 ### `int mm_map_phys_addr(ul virt_addr_start, ul phys_addr_start, ul length, ul flags, bool use4k)` 134 **virt_addr_start** 154 ### `int mm_map_proc_page_table(ul proc_page_table_addr, bool is_phys, ul virt_addr_start, ul phys_… 170 **virt_addr_start** 203 ### `void mm_unmap_proc_table(ul proc_page_table_addr, bool is_phys, ul virt_addr_start, ul length)` argument 219 **virt_addr_start**
|
/DragonOS-0.1.3/kernel/src/mm/ |
D | mmap.c | 46 int mm_map_phys_addr(ul virt_addr_start, ul phys_addr_start, ul length, ul flags, bool use4k) in mm_map_phys_addr() argument 50 …return mm_map_proc_page_table(global_CR3, true, virt_addr_start, phys_addr_start, length, flags, f… in mm_map_phys_addr() 53 int mm_map_phys_addr_user(ul virt_addr_start, ul phys_addr_start, ul length, ul flags) in mm_map_phys_addr_user() argument 56 …return mm_map_proc_page_table(global_CR3, true, virt_addr_start, phys_addr_start, length, flags, t… in mm_map_phys_addr_user() 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 87 uint64_t pml4e_id = ((virt_addr_start >> PAGE_GDT_SHIFT) & 0x1ff); in mm_map_proc_page_table() 110 uint64_t pdpte_id = (((virt_addr_start + length_mapped) >> PAGE_1G_SHIFT) & 0x1ff); in mm_map_proc_page_table() 127 uint64_t pde_id = (((virt_addr_start + length_mapped) >> PAGE_2M_SHIFT) & 0x1ff); in mm_map_proc_page_table() 153 … uint64_t pte_id = (((virt_addr_start + length_mapped) >> PAGE_4K_SHIFT) & 0x1ff); in mm_map_proc_page_table() 191 …kerror("Map memory failed. use4k=%d, vaddr=%#018lx, paddr=%#018lx", use4k, virt_addr_start, phys_a… in mm_map_proc_page_table() [all …]
|
D | mm.h | 407 int mm_map_phys_addr(ul virt_addr_start, ul phys_addr_start, ul length, ul flags, bool use4k); 421 int mm_map_proc_page_table(ul proc_page_table_addr, bool is_phys, ul virt_addr_start, ul phys_addr_… 424 int mm_map_phys_addr_user(ul virt_addr_start, ul phys_addr_start, ul length, ul flags); 434 void mm_unmap_proc_table(ul proc_page_table_addr, bool is_phys, ul virt_addr_start, ul length);
|