aboutsummaryrefslogtreecommitdiff
path: root/include/apos/tcb.h
diff options
context:
space:
mode:
authorKimplul <kimi.h.kuparinen@gmail.com>2022-05-29 16:23:41 +0300
committerKimplul <kimi.h.kuparinen@gmail.com>2022-05-29 16:23:41 +0300
commitd7cb08134102b7a2410c48d2a1802193f9031e00 (patch)
tree711498836d6679ca2fc3b4ba9369b7fe53d7a3fa /include/apos/tcb.h
parente148f38dc937c34b222ba8df8612b3fa2b6bc349 (diff)
downloadkmi-d7cb08134102b7a2410c48d2a1802193f9031e00.tar.gz
kmi-d7cb08134102b7a2410c48d2a1802193f9031e00.zip
continue documentation efforts
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);