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 Ada record:
type API_Configuration_Table is record Maximum_Tasks : RTEMS.Unsigned32; Maximum_Timers : RTEMS.Unsigned32; Maximum_Semaphores : RTEMS.Unsigned32; Maximum_Message_queues : RTEMS.Unsigned32; Maximum_Partitions : RTEMS.Unsigned32; Maximum_Regions : RTEMS.Unsigned32; Maximum_Ports : RTEMS.Unsigned32; Maximum_Periods : RTEMS.Unsigned32; Number_Of_Initialization_Tasks : RTEMS.Unsigned32; User_Initialization_Tasks_Table : RTEMS.Initialization_Tasks_Table_Pointer; end record; type API_Configuration_Table_Pointer is access all 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 10.
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 RTEMS_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-2004 OAR Corporation