diff options
author | dzwdz | 2022-08-07 18:55:59 +0200 |
---|---|---|
committer | dzwdz | 2022-08-07 18:55:59 +0200 |
commit | eb36d836458803b5dcfa668fef487c52e5c45cdc (patch) | |
tree | d3d140e32769c3d3d0a714d44885bd86f5ed3986 /src/kernel/ring.h | |
parent | a52ceb05e49d6d5b5adeaa733037d558187848f7 (diff) |
kernel: ring_to_virt
Diffstat (limited to 'src/kernel/ring.h')
-rw-r--r-- | src/kernel/ring.h | 5 |
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); |