Home
last modified time | relevance | path

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

/DragonOS-0.1.3/user/libs/libc/src/
Dmalloc.c19 #define PAGE_4K_MASK (~(PAGE_4K_SIZE - 1)) macro
23 #define PAGE_4K_ALIGN(addr) (((unsigned long)(addr) + PAGE_4K_SIZE - 1) & PAGE_4K_MASK)
/DragonOS-0.1.3/kernel/src/mm/
Dmm.h32 #define PAGE_4K_MASK (~(PAGE_4K_SIZE - 1)) macro
36 #define PAGE_4K_ALIGN(addr) (((unsigned long)(addr) + PAGE_4K_SIZE - 1) & PAGE_4K_MASK)
Dmm.c107 …ct.bmp = (unsigned long *)((memory_management_struct.start_brk + PAGE_4K_SIZE - 1) & PAGE_4K_MASK); in mm_init()
117 …emory_management_struct.bmp + memory_management_struct.bmp_len + PAGE_4K_SIZE - 1) & PAGE_4K_MASK); in mm_init()
126 …truct.pages_struct + memory_management_struct.pages_struct_len + PAGE_4K_SIZE - 1) & PAGE_4K_MASK); in mm_init()
/DragonOS-0.1.3/kernel/src/process/
Dprocess.c264 virt_base = phdr->p_vaddr & PAGE_4K_MASK; in process_load_elf_file()