git://scm.lunaixsky.com
/
lunaix-os.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
feat: add support for process to conduct Intel x87 and MMX related task.
[lunaix-os.git]
/
lunaix-os
/
includes
/
lunaix
/
mm
/
region.h
diff --git
a/lunaix-os/includes/lunaix/mm/region.h
b/lunaix-os/includes/lunaix/mm/region.h
index 8da41d2c1019d84e6a9c907af4c37a3dfd6f436f..9978d728f808e60d6a23fe312fadce315d4595e0 100644
(file)
--- a/
lunaix-os/includes/lunaix/mm/region.h
+++ b/
lunaix-os/includes/lunaix/mm/region.h
@@
-2,13
+2,20
@@
#define __LUNAIX_REGION_H
#include <lunaix/mm/mm.h>
#define __LUNAIX_REGION_H
#include <lunaix/mm/mm.h>
-#include <lunaix/process.h>
-void region_add(struct proc_info* proc, unsigned long start, unsigned long end, unsigned int attr);
+void
+region_add(struct mm_region* proc,
+ unsigned long start,
+ unsigned long end,
+ unsigned int attr);
-void region_release_all(struct proc_info* proc);
+void
+region_release_all(struct mm_region* proc);
-struct mm_region* region_get(struct proc_info* proc, unsigned long vaddr);
+struct mm_region*
+region_get(struct mm_region* proc, unsigned long vaddr);
+void
+region_copy(struct mm_region* src, struct mm_region* dest);
#endif /* __LUNAIX_REGION_H */
#endif /* __LUNAIX_REGION_H */