summaryrefslogtreecommitdiff
path: root/src/kernel/ring.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/kernel/ring.h')
-rw-r--r--src/kernel/ring.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/kernel/ring.h b/src/kernel/ring.h
new file mode 100644
index 0000000..f5f9679
--- /dev/null
+++ b/src/kernel/ring.h
@@ -0,0 +1,5 @@
+#pragma once
+#include <shared/container/ring.h>
+struct pagedir;
+
+size_t ring_to_virt(ring_t *r, struct pagedir *pages, void __user *ubuf, size_t max);