summaryrefslogtreecommitdiff
path: root/src/kernel/arch/amd64/driver/util.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/kernel/arch/amd64/driver/util.h')
-rw-r--r--src/kernel/arch/amd64/driver/util.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/kernel/arch/amd64/driver/util.h b/src/kernel/arch/amd64/driver/util.h
index 5827fa9..0f7db7a 100644
--- a/src/kernel/arch/amd64/driver/util.h
+++ b/src/kernel/arch/amd64/driver/util.h
@@ -19,3 +19,5 @@ bool postqueue_pop(VfsReq **queue, void (*accept)(VfsReq *));
/** If there are any pending read requests, and the ring buffer isn't empty, fulfill them
* all with a single read. */
void postqueue_ringreadall(VfsReq **queue, ring_t *r);
+
+size_t ring_to_virt(ring_t *r, Proc *proc, void __user *ubuf, size_t max);