1 #ifndef __LUNAIX_REGION_H
2 #define __LUNAIX_REGION_H
4 #include <lunaix/mm/mm.h>
5 #include <lunaix/process.h>
7 void region_add(struct proc_info* proc, unsigned long start, unsigned long end, unsigned int attr);
9 void region_release_all(struct proc_info* proc);
11 struct mm_region* region_get(struct proc_info* proc, unsigned long vaddr);
14 #endif /* __LUNAIX_REGION_H */