Home
last modified time | relevance | path

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

/DragonOS-0.1.7/kernel/src/mm/
Dmmap.c406 if (vma->vm_flags & VM_USER) in mm_map_vma()
426 if (vma->vm_flags & VM_USER) in mm_map_vma()
441 if (vma->vm_flags & VM_USER) in mm_map_vma()
Dmm.h310 #define VM_USER (1 << 7) // 该vma可被用户态访问 macro
Dmm.c641 mm_create_vma(current_pcb->mm, i, PAGE_2M_SIZE, VM_USER | VM_ACCESS_FLAGS, NULL, &vma); in mm_do_brk()
/DragonOS-0.1.7/kernel/src/process/
Dprocess.c296 … mm_create_vma(current_pcb->mm, virt_base, PAGE_2M_SIZE, VM_USER | VM_ACCESS_FLAGS, NULL, &vma); in process_load_elf_file()
318 … int val = mm_create_vma(current_pcb->mm, virt_base + off, PAGE_4K_SIZE, VM_USER | VM_ACCESS_FLAGS, in process_load_elf_file()
382 VM_USER | VM_ACCESS_FLAGS, NULL, &vma); in process_load_elf_file()