Home
last modified time | relevance | path

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

/DragonOS-0.1.2/kernel/src/mm/
Dutils.c43 tmp = phys_2_virt(((ul *)(*tmp & (~0xfffUL)) + (((ul)(vaddr) >> PAGE_4K_SHIFT) & 0x1ff))); in __mm_get_paddr()
88 … tmp = phys_2_virt(((ul *)(*tmp & (~0xfffUL)) + (((ul)(virt_addr) >> PAGE_4K_SHIFT) & 0x1ff))); in mm_check_mapped()
Dmmio-buddy.h9 #define MMIO_BUDDY_MIN_EXP PAGE_4K_SHIFT
Dmmio.c28 if (size_exp < PAGE_4K_SHIFT) in mmio_create()
30 size_exp = PAGE_4K_SHIFT; in mmio_create()
Dmm.h21 #define PAGE_4K_SHIFT 12 macro
27 #define PAGE_4K_SIZE (1UL << PAGE_4K_SHIFT)
Dmmap.c34 ent->num_PTE = (length + PAGE_4K_SIZE - 1) >> PAGE_4K_SHIFT; in mm_calculate_entry_num()
153 … uint64_t pte_id = (((virt_addr_start + length_mapped) >> PAGE_4K_SHIFT) & 0x1ff); in mm_map_proc_page_table()
266 … uint64_t pte_id = (((virt_addr_start + length_unmapped) >> PAGE_4K_SHIFT) & 0x1ff); in mm_unmap_proc_table()
/DragonOS-0.1.2/user/libs/libc/src/
Dmalloc.c8 #define PAGE_4K_SHIFT 12 macro
14 #define PAGE_4K_SIZE (1UL << PAGE_4K_SHIFT)