aboutsummaryrefslogtreecommitdiff
path: root/include/apos/tcb.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/apos/tcb.h')
-rw-r--r--include/apos/tcb.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/include/apos/tcb.h b/include/apos/tcb.h
index 821d822..11e1b5a 100644
--- a/include/apos/tcb.h
+++ b/include/apos/tcb.h
@@ -28,6 +28,9 @@ struct tcb {
/* vm root branch */
struct vm_branch *b_r;
+
+ struct tcb *parent;
+ struct tcb *next;
};
void init_tcbs();
@@ -41,4 +44,6 @@ void use_tcb(struct tcb *);
struct tcb *get_tcb(id_t tid);
+stat_t clone_tcb_maps(struct tcb *);
+
#endif /* APOS_TCB_H */