From: Matthias Kruk Date: Thu, 3 Oct 2019 09:43:29 +0000 (+0900) Subject: Add a pointer to struct task that points to the process the task is a part of X-Git-Url: https://git.corax.cc/?a=commitdiff_plain;h=e505b52d8c570625ade2ff9e8ed8b6b58528e152;p=corax Add a pointer to struct task that points to the process the task is a part of --- diff --git a/kernel/include/arch.h b/kernel/include/arch.h index 260707d..0cb7d74 100644 --- a/kernel/include/arch.h +++ b/kernel/include/arch.h @@ -39,6 +39,7 @@ struct task { u32_t t_tslice; u32_t t_rslice; + void *t_proc; } __attribute__((packed)); int cpu_get_id(void);