Home
last modified time | relevance | path

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

/DragonOS-0.1.7/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.rs7 vma_find, MMIO_BASE, MMIO_TOP, PAGE_1G_SHIFT, PAGE_1G_SIZE, PAGE_2M_SIZE, PAGE_4K_SHIFT,
18 const MMIO_BUDDY_MIN_EXP: u32 = PAGE_4K_SHIFT;
462 if size_exp < PAGE_4K_SHIFT { in create_mmio()
464 size_exp = PAGE_4K_SHIFT; in create_mmio()
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.7/user/libs/libc/src/
Dmalloc.c8 #define PAGE_4K_SHIFT 12 macro
14 #define PAGE_4K_SIZE (1UL << PAGE_4K_SHIFT)
/DragonOS-0.1.7/docs/kernel/memory_management/
Dmmio.md123 const MMIO_BUDDY_MIN_EXP: u32 = PAGE_4K_SHIFT;