summaryrefslogtreecommitdiffstats
path: root/tsk
diff options
context:
space:
mode:
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;
-}