46#define SP_RETURN_OFFSET 10
48#define IDLE_STACK_SIZE 128
60extern volatile unsigned int nb_tasks;
kernel configuration file
void tm_switcher(void)
the task switcher IRQ handler
volatile unsigned char tm_timeslice
task time slice
void tm_init(void)
init task management
volatile unsigned int nb_tasks
number of tasks
tdata_t td_single
single process process data
volatile unsigned int nb_system_tasks
void tm_start(void)
start task management
int tm_idle_task(int, char **)
the idle task
size_t * tm_scheduler(size_t *old_sp)
the process scheduler
tdata_t * ctid
ptr to current process data