OAR

RTEMS 4.0.0 On-Line Library


Configuring a System RTEMS API Configuration Table

PREV UP NEXT Bookshelf RTEMS C User's Guide

21.2: RTEMS API Configuration Table

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 {
  rtems_unsigned32                  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_initialization_tasks_table *User_initialization_tasks_table;
} rtems_api_configuration_table;
maximum_tasks
is the maximum number of tasks that can be concurrently active (created) in the system including initialization tasks.
maximum_timers
is the maximum number of timers that can be concurrently active in the system.
maximum_semaphores
is the maximum number of semaphores that can be concurrently active in the system.
maximum_message_queues
is the maximum number of message queues that can be concurrently active in the system.
maximum_partitions
is the maximum number of partitions that can be concurrently active in the system.
maximum_regions
is the maximum number of regions that can be concurrently active in the system.
maximum_ports
is the maximum number of ports into dual-port memory areas that can be concurrently active in the system.
number_of_initialization_tasks
is the number of initialization tasks configured. At least one initialization task must be configured.
User_initialization_tasks_table
is the address of the Initialization Task Table. This table contains the information needed to create and start each of the initialization tasks. The format of this table will be discussed below.


PREV UP NEXT Bookshelf RTEMS C User's Guide

Copyright © 1988-1998 OAR Corporation