Commit Graph

13 Commits

Author SHA1 Message Date
Ry
d61c54d985 kernel: Add sleep_task 2023-10-11 16:32:00 -07:00
Ry
df9e7eb311 Fetcher: Initial commit
This commit includes needed kernel changes and additions.
2023-07-12 00:00:08 -07:00
Ry
2ed47446a0 kernel/task: Add save_state_and_yield_task 2023-02-07 16:27:23 -08:00
Ry
2688e8082d kernel/task: Add comment saying registers are not saved across yields 2023-02-02 16:21:29 -08:00
Ry
cf627052ff Add is_task_id_used 2022-08-11 17:35:13 -07:00
Ry
9aac5dff10 Make the new_task info comments a bit more clear 2022-06-25 16:32:32 -07:00
Ry
887ebc4553 Add get_current_task_id 2022-06-24 17:40:52 -07:00
Ry
04761c1a07 Add stack block pointer to each task
This allows the stack block to automatically be freed when the task
ends.
2022-06-24 16:37:43 -07:00
Ry
0d57361f66 Allow tasks to not free their memory when they end 2022-06-23 16:38:05 -07:00
Ry
d1d2df0d74 Change scheduler starvation panic message 2022-06-23 15:43:36 -07:00
Ry
309ac8cd15 Use the memory allocator for tasks' code memory 2022-06-23 15:18:21 -07:00
Ry
3237db9aac fox32os: Don't mark task 0 as unused when yielding for the first time 2022-05-21 17:04:39 -07:00
Ry
995b01dfd2 fox32os: Implement multitasking and add a jump table for applications 2022-05-21 16:55:56 -07:00