summaryrefslogtreecommitdiffstats
path: root/tsk
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 /tsk
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 'tsk')
-rw-r--r--tsk/tasking.h27
-rw-r--r--tsk/thread.c7
2 files changed, 0 insertions, 34 deletions
diff --git a/tsk/tasking.h b/tsk/tasking.h
deleted file mode 100644
index b322682..0000000
--- a/tsk/tasking.h
+++ /dev/null
@@ -1,27 +0,0 @@
-#ifndef JOVE_TASKING_H
-#define JOVE_TASKING_H 1
-
-#include <stddef.h>
-#include <stdint.h>
-
-typedef size_t tid_t;
-
-struct Task
-{
- struct Task *next;
- tid_t id;
- uintptr_t kbp;
- size_t perm;
-};
-
-extern struct Task *task_current;
-
-void tasking_setup(void);
-
-struct Task *task_new(struct Task *parent);
-struct Task *task_get(tid_t id);
-
-void *task_get_pd(struct Task *task);
-void task_perm_release(struct Task *task, size_t mask);
-
-#endif
diff --git a/tsk/thread.c b/tsk/thread.c
deleted file mode 100644
index cb4df25..0000000
--- a/tsk/thread.c
+++ /dev/null
@@ -1,7 +0,0 @@
-#include "tasking.h"
-
-void
-task_perm_release(struct Task *task, size_t mask)
-{
- task->perm &= ~mask;
-}