diff options
| author | Miquel Sabaté Solà <mikisabate@gmail.com> | 2024-12-03 07:59:01 +0100 |
|---|---|---|
| committer | Miquel Sabaté Solà <mikisabate@gmail.com> | 2024-12-03 07:59:01 +0100 |
| commit | 065f42adc9af7fc4adc391bb6961460010c30d08 (patch) | |
| tree | fbfee11307db6a695f4eb347dbe8a0fbb034fbf9 /include | |
| parent | 4ab2ce3fb0e6b8085742c734a8f5437db5979046 (diff) | |
| download | fbos-065f42adc9af7fc4adc391bb6961460010c30d08.tar.gz fbos-065f42adc9af7fc4adc391bb6961460010c30d08.zip | |
Remove stack pointer for each process
Since 6132623dbf30 ("Share the same stack everywhere") the same stack is
used everywhere. Hence, it's rather pointless for each task to have a
pointer to a stack which is the same and that is never read.
Signed-off-by: Miquel Sabaté Solà <mikisabate@gmail.com>
Diffstat (limited to 'include')
| -rw-r--r-- | include/fbos/sched.h | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/include/fbos/sched.h b/include/fbos/sched.h index 67778da..ced620c 100644 --- a/include/fbos/sched.h +++ b/include/fbos/sched.h @@ -17,12 +17,6 @@ enum task_id { // All the information we need to grab for processes. struct task_struct { - // The stack allocated for the process. As you can see when initializing - // each process on `kernel/main.c`, we go over the top for its size. There - // is also the fact that we need to keep this as the first attribue to allow - // for simple `sp` values. - void *stack; - // Name of the task to be printed for debugging purposes. const char name[TASK_NAME_LEN]; |
