From d2f2714398d415eb9a628aab82b332b92ad5c923 Mon Sep 17 00:00:00 2001 From: Kimplul Date: Tue, 20 Sep 2022 15:38:06 +0300 Subject: add capability subsystem and syscalls --- include/apos/tcb.h | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'include/apos/tcb.h') diff --git a/include/apos/tcb.h b/include/apos/tcb.h index 9e63a9a..41b5237 100644 --- a/include/apos/tcb.h +++ b/include/apos/tcb.h @@ -10,6 +10,7 @@ */ #include +#include #include #include /* arch-specific data */ @@ -108,8 +109,8 @@ struct tcb { /** Address of callback function in servers. */ vm_t callback; - /** Address of signal callback. */ - vm_t signal; + /** Capabilities of thread. */ + capflags_t caps; /** Address of this thread's stack base. */ vm_t thread_stack; -- cgit v1.3