summaryrefslogtreecommitdiff
path: root/src/kernel/mem.h
diff options
context:
space:
mode:
authordzwdz2021-08-22 11:35:00 +0200
committerdzwdz2021-08-22 11:35:00 +0200
commit5aaf1d48ec052d1582eae2c7642adc8829a6711b (patch)
tree40745bc8d62035b812c6f36f0629c13221ae42e3 /src/kernel/mem.h
parentc0a5b44bc8261dec6d4ffaadb244ecbff962719b (diff)
await() 2: pass the exit message
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);