aboutsummaryrefslogtreecommitdiff
path: root/include/apos/tcb.h
diff options
context:
space:
mode:
authorKimplul <kimi.h.kuparinen@gmail.com>2022-05-24 23:28:37 +0300
committerKimplul <kimi.h.kuparinen@gmail.com>2022-05-24 23:28:37 +0300
commit018624dd5b1692b88f7b2e85652ea7b898043b6d (patch)
tree0aa018640dc6bd5ebca7120df95dca4269be61d6 /include/apos/tcb.h
parent4123ec776d3769728e1e12379887da34c12ee8f8 (diff)
downloadkmi-018624dd5b1692b88f7b2e85652ea7b898043b6d.tar.gz
kmi-018624dd5b1692b88f7b2e85652ea7b898043b6d.zip
make process loading more generic
Diffstat (limited to 'include/apos/tcb.h')
-rw-r--r--include/apos/tcb.h8
1 files changed, 3 insertions, 5 deletions
diff --git a/include/apos/tcb.h b/include/apos/tcb.h
index 572041d..2b602f6 100644
--- a/include/apos/tcb.h
+++ b/include/apos/tcb.h
@@ -32,15 +32,12 @@ struct tcb {
vm_t callback;
- vm_t proc_stack;
- vm_t proc_stack_top;
+ vm_t thread_stack;
+ vm_t thread_stack_top;
vm_t call_stack;
vm_t call_stack_top;
- /* entry point */
- vm_t entry;
-
/* vm root branch */
struct vmem *b_r;
@@ -63,5 +60,6 @@ void use_tcb(struct tcb *);
struct tcb *get_tcb(id_t tid);
stat_t clone_tcb_maps(struct tcb *);
+stat_t alloc_stacks(struct tcb *);
#endif /* APOS_TCB_H */