RTEMS CPU Kit with SuperCore  4.11.2
Macros
Classic API Configuration

This macro specifies that the user wants to use unlimited objects for any classic or posix objects that have not already been given resource limits. More...

Collaboration diagram for Classic API Configuration:

Macros

#define CONFIGURE_MAXIMUM_TASKS   0
 This configures the maximum number of Classic API tasks. More...
 
#define CONFIGURE_TASKS   (CONFIGURE_MAXIMUM_TASKS + CONFIGURE_LIBBLOCK_TASKS)
 This is calculated to account for the maximum number of Classic API tasks used by the application and configured RTEMS capabilities. More...
 
#define CONFIGURE_NOTEPADS_ENABLED   FALSE
 This configuration parameter enables/disables Classic API notepads. More...
 
#define CONFIGURE_MAXIMUM_TASK_VARIABLES   0
 This macro calculates the memory required for task variables. More...
 
#define CONFIGURE_MEMORY_FOR_TASK_VARIABLES(_task_variables)   0
 This macro is calculated to specify the memory required for task variables. More...
 
#define CONFIGURE_MAXIMUM_TIMERS   0
 This specifies the maximum number of Classic API timers. More...
 
#define CONFIGURE_MEMORY_FOR_TIMERS(_timers)   0
 This macro is calculated to specify the memory required for Classic API timers. More...
 
#define CONFIGURE_MAXIMUM_SEMAPHORES   0
 This specifies the maximum number of Classic API semaphores. More...
 
#define CONFIGURE_NETWORKING_SEMAPHORES   0
 This specifies the number of Classic API semaphores required. More...
 
#define CONFIGURE_SEMAPHORES
 This macro is calculated to specify the number of Classic API semaphores required by the application and configured RTEMS capabilities. More...
 
#define CONFIGURE_MEMORY_FOR_MRSP_SEMAPHORES   0
 This macro is calculated to specify the memory required for Classic API Semaphores using MRSP. More...
 
#define CONFIGURE_MEMORY_FOR_SEMAPHORES(_semaphores)
 This macro is calculated to specify the memory required for Classic API Semaphores. More...
 
#define CONFIGURE_MAXIMUM_MESSAGE_QUEUES   0
 This configuration parameter specifies the maximum number of Classic API Message Queues.
 
#define CONFIGURE_MEMORY_FOR_MESSAGE_QUEUES(_queues)   0
 This macro is calculated to specify the RTEMS Workspace required for the Classic API Message Queues. More...
 
#define CONFIGURE_MAXIMUM_PARTITIONS   0
 This configuration parameter specifies the maximum number of Classic API Partitions.
 
#define CONFIGURE_MEMORY_FOR_PARTITIONS(_partitions)   0
 This macro is calculated to specify the memory required for Classic API. More...
 
#define CONFIGURE_MAXIMUM_REGIONS   0
 This configuration parameter specifies the maximum number of Classic API Regions.
 
#define CONFIGURE_MEMORY_FOR_REGIONS(_regions)   0
 This macro is calculated to specify the memory required for Classic API Regions. More...
 
#define CONFIGURE_MAXIMUM_PORTS   0
 This configuration parameter specifies the maximum number of Classic API Dual-Ported Memory Ports.
 
#define CONFIGURE_MEMORY_FOR_PORTS(_ports)   0
 This macro is calculated to specify the memory required for Classic API Dual-Ported Memory Ports. More...
 
#define CONFIGURE_MAXIMUM_PERIODS   0
 This configuration parameter specifies the maximum number of Classic API Rate Monotonic Periods.
 
#define CONFIGURE_MEMORY_FOR_PERIODS(_periods)   0
 This macro is calculated to specify the memory required for Classic API Rate Monotonic Periods. More...
 
#define CONFIGURE_MAXIMUM_BARRIERS   0
 This configuration parameter specifies the maximum number of Classic API Barriers.
 
#define CONFIGURE_BARRIERS   (CONFIGURE_MAXIMUM_BARRIERS + CONFIGURE_BARRIERS_FOR_FIFOS)
 This macro is calculated to specify the number of Classic API Barriers required by the application and configured capabilities. More...
 
#define CONFIGURE_MEMORY_FOR_BARRIERS(_barriers)   0
 This macro is calculated to specify the memory required for Classic API Barriers. More...
 
#define CONFIGURE_MAXIMUM_USER_EXTENSIONS   0
 This configuration parameter specifies the maximum number of Classic API User Extensions.
 
#define CONFIGURE_MEMORY_FOR_USER_EXTENSIONS(_extensions)   0
 This macro is calculated to specify the memory required for Classic API User Extensions. More...
 

Detailed Description

This macro specifies that the user wants to use unlimited objects for any classic or posix objects that have not already been given resource limits.

This module contains the parameters related to configuration of the Classic API services.

Macro Definition Documentation

◆ CONFIGURE_BARRIERS

#define CONFIGURE_BARRIERS   (CONFIGURE_MAXIMUM_BARRIERS + CONFIGURE_BARRIERS_FOR_FIFOS)

This macro is calculated to specify the number of Classic API Barriers required by the application and configured capabilities.

This is an internal parameter.

◆ CONFIGURE_MAXIMUM_SEMAPHORES

#define CONFIGURE_MAXIMUM_SEMAPHORES   0

This specifies the maximum number of Classic API semaphores.

◆ CONFIGURE_MAXIMUM_TASK_VARIABLES

#define CONFIGURE_MAXIMUM_TASK_VARIABLES   0

This macro calculates the memory required for task variables.

Deprecated:
Task variables are deprecated.

Each task variable is individually allocated from the Workspace. Hence, we do the multiplication on the configured size.

Note
Per-task variables are disabled for SMP configurations.This macro specifies the maximum number of task variables.

◆ CONFIGURE_MAXIMUM_TASKS

#define CONFIGURE_MAXIMUM_TASKS   0

This configures the maximum number of Classic API tasks.

◆ CONFIGURE_MAXIMUM_TIMERS

#define CONFIGURE_MAXIMUM_TIMERS   0

This specifies the maximum number of Classic API timers.

◆ CONFIGURE_MEMORY_FOR_BARRIERS

#define CONFIGURE_MEMORY_FOR_BARRIERS (   _barriers)    0

This macro is calculated to specify the memory required for Classic API Barriers.

This is an internal parameter.

◆ CONFIGURE_MEMORY_FOR_MESSAGE_QUEUES

#define CONFIGURE_MEMORY_FOR_MESSAGE_QUEUES (   _queues)    0

This macro is calculated to specify the RTEMS Workspace required for the Classic API Message Queues.

This is an internal parameter.

◆ CONFIGURE_MEMORY_FOR_MRSP_SEMAPHORES

#define CONFIGURE_MEMORY_FOR_MRSP_SEMAPHORES   0

This macro is calculated to specify the memory required for Classic API Semaphores using MRSP.

This is only available in SMP configurations.

This is an internal parameter.

◆ CONFIGURE_MEMORY_FOR_PARTITIONS

#define CONFIGURE_MEMORY_FOR_PARTITIONS (   _partitions)    0

This macro is calculated to specify the memory required for Classic API.

This is an internal parameter.

◆ CONFIGURE_MEMORY_FOR_PERIODS

#define CONFIGURE_MEMORY_FOR_PERIODS (   _periods)    0

This macro is calculated to specify the memory required for Classic API Rate Monotonic Periods.

This is an internal parameter.

◆ CONFIGURE_MEMORY_FOR_PORTS

#define CONFIGURE_MEMORY_FOR_PORTS (   _ports)    0

This macro is calculated to specify the memory required for Classic API Dual-Ported Memory Ports.

This is an internal parameter.

◆ CONFIGURE_MEMORY_FOR_REGIONS

#define CONFIGURE_MEMORY_FOR_REGIONS (   _regions)    0

This macro is calculated to specify the memory required for Classic API Regions.

This is an internal parameter.

◆ CONFIGURE_MEMORY_FOR_SEMAPHORES

#define CONFIGURE_MEMORY_FOR_SEMAPHORES (   _semaphores)
Value:
_Configure_Object_RAM(_semaphores, sizeof(Semaphore_Control) ) + \
CONFIGURE_MEMORY_FOR_MRSP_SEMAPHORES
#define _Configure_Object_RAM(_number, _size)
This macro accounts for how memory for a set of configured objects is allocated from the Executive Wo...
Definition: confdefs.h:1403
The following defines the control block used to manage each semaphore.
Definition: sem.h:63

This macro is calculated to specify the memory required for Classic API Semaphores.

If there are no user or support semaphores defined, then we can assume that no memory need be allocated at all for semaphores.

This is an internal parameter.

◆ CONFIGURE_MEMORY_FOR_TASK_VARIABLES

#define CONFIGURE_MEMORY_FOR_TASK_VARIABLES (   _task_variables)    0

This macro is calculated to specify the memory required for task variables.

This is an internal parameter.

◆ CONFIGURE_MEMORY_FOR_TIMERS

#define CONFIGURE_MEMORY_FOR_TIMERS (   _timers)    0

This macro is calculated to specify the memory required for Classic API timers.

This is an internal parameter.

◆ CONFIGURE_MEMORY_FOR_USER_EXTENSIONS

#define CONFIGURE_MEMORY_FOR_USER_EXTENSIONS (   _extensions)    0

This macro is calculated to specify the memory required for Classic API User Extensions.

This is an internal parameter.

◆ CONFIGURE_NETWORKING_SEMAPHORES

#define CONFIGURE_NETWORKING_SEMAPHORES   0

This specifies the number of Classic API semaphores required.

This is an internal parameter.

◆ CONFIGURE_NOTEPADS_ENABLED

#define CONFIGURE_NOTEPADS_ENABLED   FALSE

This configuration parameter enables/disables Classic API notepads.

◆ CONFIGURE_SEMAPHORES

#define CONFIGURE_SEMAPHORES
Value:
CONFIGURE_TERMIOS_SEMAPHORES + CONFIGURE_LIBBLOCK_SEMAPHORES + \
CONFIGURE_SEMAPHORES_FOR_FILE_SYSTEMS + \
CONFIGURE_NETWORKING_SEMAPHORES + CONFIGURE_DRVMGR_SEMAPHORES)
#define CONFIGURE_MAXIMUM_SEMAPHORES
This specifies the maximum number of Classic API semaphores.
Definition: confdefs.h:2158
#define CONFIGURE_LIBIO_SEMAPHORES
Semaphore count used by the IO library.
Definition: confdefs.h:158
#define CONFIGURE_DRVMGR_SEMAPHORES
Driver Manager Configuration.
Definition: confdefs.h:171
#define CONFIGURE_LIBBLOCK_SEMAPHORES
This specifies the number of Classic API semaphores needed by libblock.
Definition: confdefs.h:1847

This macro is calculated to specify the number of Classic API semaphores required by the application and configured RTEMS capabilities.

This is an internal parameter.

◆ CONFIGURE_TASKS

#define CONFIGURE_TASKS   (CONFIGURE_MAXIMUM_TASKS + CONFIGURE_LIBBLOCK_TASKS)

This is calculated to account for the maximum number of Classic API tasks used by the application and configured RTEMS capabilities.

This is an internal parameter.