]> git.corax.cc Git - corax/commitdiff
Add a pointer to struct task that points to the process the task is a part of
authorMatthias Kruk <m@m10k.eu>
Thu, 3 Oct 2019 09:43:29 +0000 (18:43 +0900)
committerMatthias Kruk <m@m10k.eu>
Thu, 3 Oct 2019 09:43:29 +0000 (18:43 +0900)
kernel/include/arch.h

index 260707d747617572015ba732f745aa7b5170671d..0cb7d74c1698f3f661a540efa2a76ecc925c7dee 100644 (file)
@@ -39,6 +39,7 @@ struct task {
 
        u32_t t_tslice;
        u32_t t_rslice;
+       void *t_proc;
 } __attribute__((packed));
 
 int     cpu_get_id(void);