summaryrefslogtreecommitdiffstats
path: root/usr/tasking.c
diff options
context:
space:
mode:
authorJon Santmyer <jon@jonsantmyer.com>2024-03-19 13:03:52 -0400
committerJon Santmyer <jon@jonsantmyer.com>2024-03-19 13:03:52 -0400
commitf004c1ade8d617a82cea2fe249434cccb47a2358 (patch)
tree34571e76039cf2ee2fee93c3f1bdb1bc6d2de5f6 /usr/tasking.c
parentdd5d9e1d48396cbc226ff14fe557a55613c91fcb (diff)
downloadjove-kernel-f004c1ade8d617a82cea2fe249434cccb47a2358.tar.gz
jove-kernel-f004c1ade8d617a82cea2fe249434cccb47a2358.tar.bz2
jove-kernel-f004c1ade8d617a82cea2fe249434cccb47a2358.zip
rename abi to sys. better memory allocation
Diffstat (limited to 'usr/tasking.c')
-rw-r--r--usr/tasking.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/usr/tasking.c b/usr/tasking.c
new file mode 100644
index 0000000..cb4df25
--- /dev/null
+++ b/usr/tasking.c
@@ -0,0 +1,7 @@
+#include "tasking.h"
+
+void
+task_perm_release(struct Task *task, size_t mask)
+{
+ task->perm &= ~mask;
+}