summaryrefslogtreecommitdiff
path: root/kernel/syscalls/queue.c
diff options
context:
space:
mode:
authorAnton Kling <anton@kling.gg>2024-03-14 13:09:59 +0100
committerAnton Kling <anton@kling.gg>2024-03-14 13:09:59 +0100
commit2e8b474d4219e7faaac3823e73c8d528c2698a37 (patch)
tree7d93b5fd220e8b703ba69f9b55122d15c9d619fb /kernel/syscalls/queue.c
parent051ac9f1941e8bc6ad87beccb61a2d53111ba8ea (diff)
random changes made
Diffstat (limited to 'kernel/syscalls/queue.c')
-rw-r--r--kernel/syscalls/queue.c14
1 files changed, 14 insertions, 0 deletions
diff --git a/kernel/syscalls/queue.c b/kernel/syscalls/queue.c
new file mode 100644
index 0000000..94f7960
--- /dev/null
+++ b/kernel/syscalls/queue.c
@@ -0,0 +1,14 @@
+#include <queue.h>
+#include <syscalls.h>
+
+int syscall_queue_create(u32 *id) {
+ return queue_create(id);
+}
+
+int syscall_queue_add(u32 queue_id, struct event *ev, u32 size) {
+ return queue_add(queue_id, ev, size);
+}
+
+int syscall_queue_wait(u32 queue_id) {
+ return queue_wait(queue_id);
+}