2017-07-08 | Paul Boddie | raw annotate files changeset graph | Eliminate redundant members in vidinfo_t, adding a member referencing the framebuffer details, and changing the descriptor member name and type name. Note that the reference to the framebuffer details needs correcting for user mode usage. |
1 #ifndef __TASKS_H__ 2 #define __TASKS_H__ 3 4 #include <stdint.h> 5 6 /* Provide a limit to the number of tasks (in a way that employs a constant). */ 7 8 enum { max_tasks = 10 }; 9 10 /* Task management functions. */ 11 12 void init_tasks(); 13 void init_task(); 14 void start_tasks(); 15 void start_task(uint8_t, void (*)(), uint32_t[], uint8_t); 16 void start_task_now(); 17 void switch_task(); 18 19 #endif /* __TASKS_H__ */