The Initialization Task Table is used to describe
each of the user initialization tasks to the Initialization
Manager. The table contains one entry for each initialization
task the user wishes to create and start. The fields of this
data structure directly correspond to arguments to the
rtems.task_create
and
rtems.task_start
directives. The number of entries is
found in the number_of_initialization_tasks
entry in the
Configuration Table.
The format of each entry in the Initialization Task Table is defined in the following C structure:
typedef struct { rtems_name name; size_t stack_size; rtems_task_priority initial_priority; rtems_attribute attribute_set; rtems_task_entry entry_point; rtems_mode mode_set; rtems_task_argument argument; } rtems_initialization_tasks_table;
A typical declaration for an Initialization Task Table might appear as follows:
rtems_initialization_tasks_table Initialization_tasks[2] = { { INIT_1_NAME, 1024, 1, DEFAULT_ATTRIBUTES, Init_1, DEFAULT_MODES, 1 }, { INIT_2_NAME, 1024, 250, FLOATING_POINT, Init_2, NO_PREEMPT, 2 } };
Copyright © 1988-2008 OAR Corporation