2016-04-26 | Paul Boddie | raw annotate files changeset graph | Removed the separate reference for the task entry routine. It shouldn't be needed if the status register can be modified in advance of exception return, anyway. |
1 #ifndef __TASKS_H__ 2 #define __TASKS_H__ 3 4 #include "xburst_types.h" 5 6 enum { max_tasks = 3 }; 7 8 /* Task management functions. */ 9 10 void init_tasks(); 11 void init_task(); 12 void start_task(unsigned short, void (*)(), u32[], u8); 13 void start_task_now(); 14 void switch_task(); 15 16 #endif /* __TASKS_H__ */