aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorKimplul <kimi.h.kuparinen@gmail.com>2022-04-24 13:54:41 +0300
committerKimplul <kimi.h.kuparinen@gmail.com>2022-04-24 13:54:41 +0300
commitbe3696bd5853819212b1240751efd8d85f282c68 (patch)
treefd58279b90ce82c073c6f8d9a929ceb00bec5703 /include
parentd4c420689b1872f6fb22f421dfd27704ee94951a (diff)
downloadkmi-be3696bd5853819212b1240751efd8d85f282c68.tar.gz
kmi-be3696bd5853819212b1240751efd8d85f282c68.zip
start initial irq handling
+ Still lots todo, and I'm not entirely sure how I should handle program space switches (mainly since the kernel uses the process' stack, maybe it shouldn't?)
Diffstat (limited to 'include')
-rw-r--r--include/apos/tcb.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/apos/tcb.h b/include/apos/tcb.h
index 7ed07c5..821d822 100644
--- a/include/apos/tcb.h
+++ b/include/apos/tcb.h
@@ -16,8 +16,12 @@ struct tcb {
id_t tid;
vm_t callback;
+
vm_t proc_stack;
+ vm_t proc_stack_top;
+
vm_t call_stack;
+ vm_t call_stack_top;
/* entry point */
vm_t entry;