aboutsummaryrefslogtreecommitdiff
path: root/include/apos/vmem.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/apos/vmem.h')
-rw-r--r--include/apos/vmem.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/include/apos/vmem.h b/include/apos/vmem.h
index 862af44..1e481fa 100644
--- a/include/apos/vmem.h
+++ b/include/apos/vmem.h
@@ -114,6 +114,16 @@ stat_t init_uvmem(struct tcb *r, vm_t base, vm_t top);
*/
stat_t destroy_uvmem(struct tcb *r);
+/**
+ * Clone process memory.
+ *
+ * @param d Destination tcb.
+ * @param s Source tcb.
+ * @return OK.
+ *
+ * @todo Come up with better name. clone_uvmem() is taken, but should it be
+ * renamed to clone_mapping() or something?
+ */
stat_t clone_mem_regions(struct tcb *d, struct tcb *s);
/**