#include <config.h>
#include "../tm.h"
Include dependency graph for tm.h:
This graph shows which files directly or indirectly include this file:
Go to the source code of this file.
Defines | |
#define | SP_RETURN_OFFSET 10 |
return address offset on stack in words. More... | |
#define | IDLE_STACK_SIZE 128 |
should suffice for IRQ service. More... | |
Functions | |
void | tm_init (void) |
init task management. More... | |
void | tm_start (void) |
start task management. More... | |
void | tm_switcher (void) |
the task switcher IRQ handler. More... | |
size_t * | tm_scheduler (size_t *old_sp) |
the process scheduler. More... | |
int | tm_idle_task (int, char **) |
the idle task. More... | |
Variables | |
tdata_t | td_single |
single process process data. More... | |
tdata_t * | ctid |
ptr to current process data. More... | |
volatile unsigned int | nb_tasks |
number of tasks. More... | |
volatile unsigned int | nb_system_tasks |
volatile unsigned char | tm_timeslice |
task time slice. More... |
Definition in file tm.h.
|
should suffice for IRQ service.
|
|
return address offset on stack in words.
|
|
the idle task. infinite sleep instruction to conserve power |
|
init task management.
Referenced by kmain(). |
|
the process scheduler.
|
|
start task management. called in single tasking mode after task setup Referenced by kmain(). |
|
the task switcher IRQ handler. located in the assembler process module |
|
ptr to current process data.
|
|
|
|
number of tasks.
|
|
single process process data.
|
|
task time slice.
Definition at line 67 of file tm.h. Referenced by systime_init(), and systime_set_timeslice(). |
brickOS is released under the
Mozilla Public License.
Original code copyright 1998-2002 by the authors. |