The RTEMS API Configuration Table is used to configure the managers which constitute the RTEMS API for a particular application. For example, the user can configure the maximum number of tasks for this application. The RTEMS API Configuration Table is defined in the following C structure:
typedef struct { uint32_t maximum_tasks; uint32_t maximum_timers; uint32_t maximum_semaphores; uint32_t maximum_message_queues; uint32_t maximum_partitions; uint32_t maximum_regions; uint32_t maximum_ports; uint32_t maximum_periods; uint32_t maximum_barriers; uint32_t number_of_initialization_tasks; rtems_initialization_tasks_table *User_initialization_tasks_table; } rtems_api_configuration_table;
rtems/confdefs.h
mechanism for configuring
an RTEMS application, the value for this field corresponds
to the setting of the macro CONFIGURE_MAXIMUM_TASKS
.
If not defined by the application, then the CONFIGURE_MAXIMUM_TASKS
macro defaults to 0.
rtems/confdefs.h
mechanism for configuring
an RTEMS application, the value for this field corresponds
to the setting of the macro CONFIGURE_MAXIMUM_TIMERS
.
If not defined by the application, then the CONFIGURE_MAXIMUM_TIMERS
macro defaults to 0.
rtems/confdefs.h
mechanism for configuring
an RTEMS application, the value for this field corresponds
to the setting of the macro CONFIGURE_MAXIMUM_SEMAPHORES
.
If not defined by the application, then the CONFIGURE_MAXIMUM_SEMAPHORES
macro defaults to 0.
rtems/confdefs.h
mechanism for configuring
an RTEMS application, the value for this field corresponds
to the setting of the macro CONFIGURE_MAXIMUM_MESSAGE_QUEUES
.
If not defined by the application, then the
CONFIGURE_MAXIMUM_MESSAGE_QUEUES
macro defaults to 0.
rtems/confdefs.h
mechanism for configuring
an RTEMS application, the value for this field corresponds
to the setting of the macro CONFIGURE_MAXIMUM_PARTITIONS
.
If not defined by the application, then the CONFIGURE_MAXIMUM_PARTITIONS
macro defaults to 0.
rtems/confdefs.h
mechanism for configuring
an RTEMS application, the value for this field corresponds
to the setting of the macro CONFIGURE_MAXIMUM_REGIONS
.
If not defined by the application, then the CONFIGURE_MAXIMUM_REGIONS
macro defaults to 0.
rtems/confdefs.h
mechanism for configuring
an RTEMS application, the value for this field corresponds
to the setting of the macro CONFIGURE_MAXIMUM_PORTS
.
If not defined by the application, then the CONFIGURE_MAXIMUM_PORTS
macro defaults to 0.
rtems/confdefs.h
mechanism for configuring
an RTEMS application, the user must define the
CONFIGURE_RTEMS_INIT_TASKS_TABLE
to indicate that there
is one or more RTEMS initialization task. If the application
only has one RTEMS initialization task, then the automatically
generated Initialization Task Table will be sufficient. The following
macros correspond to the single initialization task:
CONFIGURE_INIT_TASK_NAME
- is the name of the task.
If this macro is not defined by the application, then this defaults
to the task name of "UI1 "
for User Initialization Task 1.
CONFIGURE_INIT_TASK_STACK_SIZE
- is the stack size
of the single initialization task. If this macro is not defined
by the application, then this defaults to configured minimum
stack size.
CONFIGURE_INIT_TASK_PRIORITY
- is the initial priority
of the single initialization task. If this macro is not defined
by the application, then this defaults to 1.
CONFIGURE_INIT_TASK_ATTRIBUTES
- is the attributes
of the single initialization task. If this macro is not defined
by the application, then this defaults to RTEMS_DEFAULT_ATTRIBUTES
.
CONFIGURE_INIT_TASK_ENTRY_POINT
- is the entry point
of the single initialization task. If this macro is not defined
by the application, then this defaults to the C language routine
Init
.
CONFIGURE_INIT_TASK_INITIAL_MODES
- is the initial execution
modes of the single initialization task. If this macro is not defined
by the application, then this defaults to RTEMS_NO_PREEMPT
.
CONFIGURE_INIT_TASK_ARGUMENTS
- is the argument passed to the
of the single initialization task. If this macro is not defined
by the application, then this defaults to 0.
has the option to have
value for this field corresponds
to the setting of the macro .
rtems/confdefs.h
mechanism for configuring
an RTEMS application, the value for this field corresponds
to the setting of the macro CONFIGURE_EXECUTIVE_RAM_WORK_AREA
.
Copyright © 1988-2008 OAR Corporation