From be3696bd5853819212b1240751efd8d85f282c68 Mon Sep 17 00:00:00 2001 From: Kimplul Date: Sun, 24 Apr 2022 13:54:41 +0300 Subject: 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?) --- include/apos/tcb.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'include/apos') 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; -- cgit v1.3