Go to the documentation of this file.
46 #define SP_RETURN_OFFSET 10
48 #define IDLE_STACK_SIZE 128
60 extern volatile unsigned int nb_tasks;
114 #endif // __sys_tm_h__
size_t * tm_scheduler(size_t *old_sp)
the process scheduler
volatile unsigned int nb_tasks
number of tasks
volatile unsigned int nb_system_tasks
tdata_t * ctid
ptr to current process data
tdata_t td_single
single process process data
void tm_init(void)
init task management
volatile unsigned char tm_timeslice
task time slice
int tm_idle_task(int, char **)
the idle task
kernel configuration file
void tm_switcher(void)
the task switcher IRQ handler
void tm_start(void)
start task management
Generated for brickOS Kernel Developer by
1.8.16