summaryrefslogtreecommitdiff
path: root/src/kernel/mem/virt.c
diff options
context:
space:
mode:
authordzwdz2021-09-05 18:57:26 +0200
committerdzwdz2021-09-05 18:57:26 +0200
commit0f24fa98fd340205e7041d057b68d99893f2015d (patch)
tree792d061736e95e9d77a5ca72366cb20e16f565db /src/kernel/mem/virt.c
parent0b2b263060907e8bf732c1d27c66b7358af01e9f (diff)
rename virt_user_cpy to virt_cpy, since it's no longer limited to virtual memory
Diffstat (limited to 'src/kernel/mem/virt.c')
-rw-r--r--src/kernel/mem/virt.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/kernel/mem/virt.c b/src/kernel/mem/virt.c
index beeb54f..4789e53 100644
--- a/src/kernel/mem/virt.c
+++ b/src/kernel/mem/virt.c
@@ -50,7 +50,7 @@ bool virt_iter_next(struct virt_iter *iter) {
return true;
}
-bool virt_user_cpy(
+bool virt_cpy(
struct pagedir *dest_pages, user_ptr dest,
struct pagedir *src_pages, const user_ptr src, size_t length)
{