1 #ifndef __LUNAIX_MMAP_H
2 #define __LUNAIX_MMAP_H
5 #include <lunaix/mm/region.h>
6 #include <lunaix/types.h>
11 vm_regions_t* regions;
20 mem_map(void** addr_out,
21 struct mm_region** created,
24 struct mmap_param* param);
27 mem_unmap(ptr_t mnt, vm_regions_t* regions, void* addr, size_t length);
30 mem_sync_pages(ptr_t mnt,
31 struct mm_region* region,
38 vm_regions_t* regions,
43 #endif /* __LUNAIX_MMAP_H */