diff options
author | Clyne Sullivan <tullivan99@gmail.com> | 2018-02-27 23:55:46 -0500 |
---|---|---|
committer | Clyne Sullivan <tullivan99@gmail.com> | 2018-02-27 23:55:46 -0500 |
commit | 4614429f5751e14e37ceedb7130b7a829c89476a (patch) | |
tree | 42fdfab4b64c3f71b5e13c537b1d0de7538278ca /include/task.h | |
parent | 9f61013faf98f8909e0853954218ec10c3b3c6fb (diff) |
cleaner main, random nums, perfect script run
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. |