summaryrefslogtreecommitdiff
path: root/src/kernel/mem.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/kernel/mem.h')
-rw-r--r--src/kernel/mem.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/kernel/mem.h b/src/kernel/mem.h
index 78de8db..d8496fd 100644
--- a/src/kernel/mem.h
+++ b/src/kernel/mem.h
@@ -33,3 +33,7 @@ void virt_iter_new(
struct pagedir *pages, bool user, bool writeable);
bool virt_iter_next(struct virt_iter *);
+
+bool virt_user_cpy(
+ struct pagedir *dest_pages, void *dest,
+ struct pagedir *src_pages, const void *src, size_t length);