feat: added ability to identify process vm regions
[lunaix-os.git] / lunaix-os / includes / lunaix / mm / region.h
1 #ifndef __LUNAIX_REGION_H
2 #define __LUNAIX_REGION_H
3
4 #include <lunaix/mm/mm.h>
5 #include <lunaix/process.h>
6
7 void region_add(struct proc_info* proc, unsigned long start, unsigned long end, unsigned int attr);
8
9 void region_release_all(struct proc_info* proc);
10
11 struct mm_region* region_get(struct proc_info* proc, unsigned long vaddr);
12
13
14 #endif /* __LUNAIX_REGION_H */