diff options
Diffstat (limited to 'include/task.h')
-rw-r--r-- | include/task.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/include/task.h b/include/task.h index 7077b00..1ef8639 100644 --- a/include/task.h +++ b/include/task.h @@ -8,6 +8,12 @@ #include <stdint.h> +typedef struct { + void *next; + uint32_t *stack; + uint32_t *sp; +} task_t; + /** * Enters multitasking mode. The given function acts as the initial thread. * This task is given a 4kb stack. |