From d7cb08134102b7a2410c48d2a1802193f9031e00 Mon Sep 17 00:00:00 2001 From: Kimplul Date: Sun, 29 May 2022 16:23:41 +0300 Subject: continue documentation efforts --- include/apos/tcb.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'include/apos/tcb.h') 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); -- cgit v1.3