aboutsummaryrefslogtreecommitdiff
path: root/include/apos/tcb.h
diff options
context:
space:
mode:
authorKimplul <kimi.h.kuparinen@gmail.com>2022-01-07 16:32:05 +0200
committerKimplul <kimi.h.kuparinen@gmail.com>2022-01-07 16:32:05 +0200
commitbe78fcb0acc665d4db8edb9cda53f6863d27dd85 (patch)
treee9e33e9e48983f630098eedd3d931edbe86e4410 /include/apos/tcb.h
parent9cc125fb3cfdc2c8ae7153b5ae0fe705980835fb (diff)
downloadkmi-be78fcb0acc665d4db8edb9cda53f6863d27dd85.tar.gz
kmi-be78fcb0acc665d4db8edb9cda53f6863d27dd85.zip
Improved header dependency tree
Diffstat (limited to 'include/apos/tcb.h')
-rw-r--r--include/apos/tcb.h16
1 files changed, 2 insertions, 14 deletions
diff --git a/include/apos/tcb.h b/include/apos/tcb.h
index 0a07d7b..4872bd0 100644
--- a/include/apos/tcb.h
+++ b/include/apos/tcb.h
@@ -1,21 +1,9 @@
#ifndef APOS_TCB_H
#define APOS_TCB_H
-struct tcb;
-struct sp_reg_root;
-
-#include <tcb.h>
-#include <vmem.h>
-#include <apos/vmem.h>
+#include <apos/mem_regions.h>
#include <apos/types.h>
-#include <apos/sp_tree.h>
-
-typedef size_t id_t;
-
-struct sp_reg_root {
- struct sp_root free_regions;
- struct sp_root used_regions;
-};
+#include <tcb.h> /* arch-specific data */
struct tcb {
struct sp_node sp_n;