Home
last modified time | relevance | path

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

/DragonOS-0.1.3/kernel/src/mm/
Dmmio.c39 struct __mmio_buddy_addr_region *buddy_region = mmio_buddy_query_addr_region(size_exp); in mmio_create() local
40 if (buddy_region == NULL) // 没有空闲的mmio空间了 in mmio_create()
43 *res_vaddr = buddy_region->vaddr; in mmio_create()
46 __mmio_buddy_release_addr_region(buddy_region); in mmio_create()
57 … retval = mm_create_vma(&initial_mm, buddy_region->vaddr + i, PAGE_2M_SIZE, vm_flags, NULL, NULL); in mmio_create()
64 … retval = mm_create_vma(&initial_mm, buddy_region->vaddr + i, PAGE_4K_SIZE, vm_flags, NULL, NULL); in mmio_create()