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.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/apos/tcb.h b/include/apos/tcb.h
index 7abd432..1a633be 100644
--- a/include/apos/tcb.h
+++ b/include/apos/tcb.h
@@ -42,6 +42,7 @@ struct tcb {
vm_t thread_stack;
vm_t thread_stack_top;
+ vm_t thread_storage;
struct tcb_ctx proc;
struct tcb_ctx rpc;
@@ -61,6 +62,7 @@ stat_t attach_proc(struct tcb *r, struct tcb *t);
stat_t detach_proc(struct tcb *r, struct tcb *t);
struct tcb *cur_tcb();
+struct tcb *cur_proc();
void use_tcb(struct tcb *);
struct tcb *get_tcb(id_t tid);