summaryrefslogtreecommitdiff
path: root/src/kernel/ring.h
diff options
context:
space:
mode:
authordzwdz2023-01-25 01:02:04 +0100
committerdzwdz2023-01-25 01:04:49 +0100
commit2a2fc4dffe0117ce874a6cf1dcc34321ed8add77 (patch)
treeaf1e24f72241dbbff97797b9e186f7d27b5b54b4 /src/kernel/ring.h
parent52e7fe3c679469032e77a5ca4adf19618ba1201b (diff)
kernel/virt: replace the virt_cpy api with a more foolproof one
Diffstat (limited to 'src/kernel/ring.h')
-rw-r--r--src/kernel/ring.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/kernel/ring.h b/src/kernel/ring.h
index e288cb9..15f4682 100644
--- a/src/kernel/ring.h
+++ b/src/kernel/ring.h
@@ -3,4 +3,4 @@
#include <shared/container/ring.h>
struct pagedir;
-size_t ring_to_virt(ring_t *r, struct pagedir *pages, void __user *ubuf, size_t max);
+size_t ring_to_virt(ring_t *r, struct process *proc, void __user *ubuf, size_t max);