mirror of
https://git.rtems.org/rtems-docs/
synced 2025-05-15 02:57:55 +08:00
c-user: Use rubric for configuration options
Clear the page for each configuration options similar to the directives. Use a rubric instead of a definition list for the application configuration options similar to the directive documentation pages. For direcives and application configuration options use the same rubric order. Generalize value constraints to constraints. This patch does not change hand written content.
This commit is contained in:
parent
1badb5f479
commit
1c8ce332e2
@ -28,6 +28,10 @@ This section describes configuration options related to the Block Device Cache
|
|||||||
|
|
||||||
.. Generated from spec:/acfg/if/appl-needs-libblock
|
.. Generated from spec:/acfg/if/appl-needs-libblock
|
||||||
|
|
||||||
|
.. raw:: latex
|
||||||
|
|
||||||
|
\clearpage
|
||||||
|
|
||||||
.. index:: CONFIGURE_APPLICATION_NEEDS_LIBBLOCK
|
.. index:: CONFIGURE_APPLICATION_NEEDS_LIBBLOCK
|
||||||
|
|
||||||
.. _CONFIGURE_APPLICATION_NEEDS_LIBBLOCK:
|
.. _CONFIGURE_APPLICATION_NEEDS_LIBBLOCK:
|
||||||
@ -35,27 +39,36 @@ This section describes configuration options related to the Block Device Cache
|
|||||||
CONFIGURE_APPLICATION_NEEDS_LIBBLOCK
|
CONFIGURE_APPLICATION_NEEDS_LIBBLOCK
|
||||||
------------------------------------
|
------------------------------------
|
||||||
|
|
||||||
CONSTANT:
|
.. rubric:: CONSTANT:
|
||||||
``CONFIGURE_APPLICATION_NEEDS_LIBBLOCK``
|
|
||||||
|
|
||||||
OPTION TYPE:
|
``CONFIGURE_APPLICATION_NEEDS_LIBBLOCK``
|
||||||
This configuration option is a boolean feature define.
|
|
||||||
|
|
||||||
DEFAULT CONFIGURATION:
|
.. rubric:: OPTION TYPE:
|
||||||
If this configuration option is undefined, then the described feature is not
|
|
||||||
enabled.
|
|
||||||
|
|
||||||
DESCRIPTION:
|
This configuration option is a boolean feature define.
|
||||||
In case this configuration option is defined, then the Block Device Cache is
|
|
||||||
initialized during system initialization.
|
|
||||||
|
|
||||||
NOTES:
|
.. rubric:: DEFAULT CONFIGURATION:
|
||||||
Each option of the Block Device Cache (bdbuf) configuration can be explicitly
|
|
||||||
set by the user with the configuration options below. The Block Device Cache
|
If this configuration option is undefined, then the described feature is not
|
||||||
is used for example by the RFS and DOSFS filesystems.
|
enabled.
|
||||||
|
|
||||||
|
.. rubric:: DESCRIPTION:
|
||||||
|
|
||||||
|
In case this configuration option is defined, then the Block Device Cache is
|
||||||
|
initialized during system initialization.
|
||||||
|
|
||||||
|
.. rubric:: NOTES:
|
||||||
|
|
||||||
|
Each option of the Block Device Cache (bdbuf) configuration can be explicitly
|
||||||
|
set by the user with the configuration options below. The Block Device Cache
|
||||||
|
is used for example by the RFS and DOSFS filesystems.
|
||||||
|
|
||||||
.. Generated from spec:/acfg/if/bdbuf-buffer-max-size
|
.. Generated from spec:/acfg/if/bdbuf-buffer-max-size
|
||||||
|
|
||||||
|
.. raw:: latex
|
||||||
|
|
||||||
|
\clearpage
|
||||||
|
|
||||||
.. index:: CONFIGURE_BDBUF_BUFFER_MAX_SIZE
|
.. index:: CONFIGURE_BDBUF_BUFFER_MAX_SIZE
|
||||||
|
|
||||||
.. _CONFIGURE_BDBUF_BUFFER_MAX_SIZE:
|
.. _CONFIGURE_BDBUF_BUFFER_MAX_SIZE:
|
||||||
@ -63,33 +76,38 @@ NOTES:
|
|||||||
CONFIGURE_BDBUF_BUFFER_MAX_SIZE
|
CONFIGURE_BDBUF_BUFFER_MAX_SIZE
|
||||||
-------------------------------
|
-------------------------------
|
||||||
|
|
||||||
CONSTANT:
|
.. rubric:: CONSTANT:
|
||||||
``CONFIGURE_BDBUF_BUFFER_MAX_SIZE``
|
|
||||||
|
|
||||||
OPTION TYPE:
|
``CONFIGURE_BDBUF_BUFFER_MAX_SIZE``
|
||||||
This configuration option is an integer define.
|
|
||||||
|
|
||||||
DEFAULT VALUE:
|
.. rubric:: OPTION TYPE:
|
||||||
The default value is 4096.
|
|
||||||
|
|
||||||
VALUE CONSTRAINTS:
|
This configuration option is an integer define.
|
||||||
The value of this configuration option shall satisfy all of the following
|
|
||||||
constraints:
|
|
||||||
|
|
||||||
* It shall be greater than or equal to zero.
|
.. rubric:: DEFAULT VALUE:
|
||||||
|
|
||||||
* It shall be an integral multiple of
|
The default value is 4096.
|
||||||
|
|
||||||
|
.. rubric:: DESCRIPTION:
|
||||||
|
|
||||||
|
The value of this configuration option defines the maximum size of a buffer
|
||||||
|
in bytes.
|
||||||
|
|
||||||
|
.. rubric:: CONSTRAINTS:
|
||||||
|
|
||||||
|
The following constraints apply to this configuration option:
|
||||||
|
|
||||||
|
* The value of the configuration option shall be greater than or equal to zero.
|
||||||
|
|
||||||
|
* The value of the configuration option shall be an integral multiple of
|
||||||
:ref:`CONFIGURE_BDBUF_BUFFER_MIN_SIZE`.
|
:ref:`CONFIGURE_BDBUF_BUFFER_MIN_SIZE`.
|
||||||
|
|
||||||
DESCRIPTION:
|
|
||||||
The value of this configuration option defines the maximum size of a buffer
|
|
||||||
in bytes.
|
|
||||||
|
|
||||||
NOTES:
|
|
||||||
None.
|
|
||||||
|
|
||||||
.. Generated from spec:/acfg/if/bdbuf-buffer-min-size
|
.. Generated from spec:/acfg/if/bdbuf-buffer-min-size
|
||||||
|
|
||||||
|
.. raw:: latex
|
||||||
|
|
||||||
|
\clearpage
|
||||||
|
|
||||||
.. index:: CONFIGURE_BDBUF_BUFFER_MIN_SIZE
|
.. index:: CONFIGURE_BDBUF_BUFFER_MIN_SIZE
|
||||||
|
|
||||||
.. _CONFIGURE_BDBUF_BUFFER_MIN_SIZE:
|
.. _CONFIGURE_BDBUF_BUFFER_MIN_SIZE:
|
||||||
@ -97,33 +115,38 @@ NOTES:
|
|||||||
CONFIGURE_BDBUF_BUFFER_MIN_SIZE
|
CONFIGURE_BDBUF_BUFFER_MIN_SIZE
|
||||||
-------------------------------
|
-------------------------------
|
||||||
|
|
||||||
CONSTANT:
|
.. rubric:: CONSTANT:
|
||||||
``CONFIGURE_BDBUF_BUFFER_MIN_SIZE``
|
|
||||||
|
|
||||||
OPTION TYPE:
|
``CONFIGURE_BDBUF_BUFFER_MIN_SIZE``
|
||||||
This configuration option is an integer define.
|
|
||||||
|
|
||||||
DEFAULT VALUE:
|
.. rubric:: OPTION TYPE:
|
||||||
The default value is 512.
|
|
||||||
|
|
||||||
VALUE CONSTRAINTS:
|
This configuration option is an integer define.
|
||||||
The value of this configuration option shall satisfy all of the following
|
|
||||||
constraints:
|
|
||||||
|
|
||||||
* It shall be greater than or equal to zero.
|
.. rubric:: DEFAULT VALUE:
|
||||||
|
|
||||||
* It shall be less than or equal to `UINT32_MAX
|
The default value is 512.
|
||||||
<https://en.cppreference.com/w/c/types/integer>`_.
|
|
||||||
|
|
||||||
DESCRIPTION:
|
.. rubric:: DESCRIPTION:
|
||||||
The value of this configuration option defines the minimum size of a buffer
|
|
||||||
in bytes.
|
|
||||||
|
|
||||||
NOTES:
|
The value of this configuration option defines the minimum size of a buffer
|
||||||
None.
|
in bytes.
|
||||||
|
|
||||||
|
.. rubric:: CONSTRAINTS:
|
||||||
|
|
||||||
|
The following constraints apply to this configuration option:
|
||||||
|
|
||||||
|
* The value of the configuration option shall be greater than or equal to zero.
|
||||||
|
|
||||||
|
* The value of the configuration option shall be less than or equal to
|
||||||
|
`UINT32_MAX <https://en.cppreference.com/w/c/types/integer>`_.
|
||||||
|
|
||||||
.. Generated from spec:/acfg/if/bdbuf-cache-memory-size
|
.. Generated from spec:/acfg/if/bdbuf-cache-memory-size
|
||||||
|
|
||||||
|
.. raw:: latex
|
||||||
|
|
||||||
|
\clearpage
|
||||||
|
|
||||||
.. index:: CONFIGURE_BDBUF_CACHE_MEMORY_SIZE
|
.. index:: CONFIGURE_BDBUF_CACHE_MEMORY_SIZE
|
||||||
|
|
||||||
.. _CONFIGURE_BDBUF_CACHE_MEMORY_SIZE:
|
.. _CONFIGURE_BDBUF_CACHE_MEMORY_SIZE:
|
||||||
@ -131,33 +154,38 @@ NOTES:
|
|||||||
CONFIGURE_BDBUF_CACHE_MEMORY_SIZE
|
CONFIGURE_BDBUF_CACHE_MEMORY_SIZE
|
||||||
---------------------------------
|
---------------------------------
|
||||||
|
|
||||||
CONSTANT:
|
.. rubric:: CONSTANT:
|
||||||
``CONFIGURE_BDBUF_CACHE_MEMORY_SIZE``
|
|
||||||
|
|
||||||
OPTION TYPE:
|
``CONFIGURE_BDBUF_CACHE_MEMORY_SIZE``
|
||||||
This configuration option is an integer define.
|
|
||||||
|
|
||||||
DEFAULT VALUE:
|
.. rubric:: OPTION TYPE:
|
||||||
The default value is 32768.
|
|
||||||
|
|
||||||
VALUE CONSTRAINTS:
|
This configuration option is an integer define.
|
||||||
The value of this configuration option shall satisfy all of the following
|
|
||||||
constraints:
|
|
||||||
|
|
||||||
* It shall be greater than or equal to zero.
|
.. rubric:: DEFAULT VALUE:
|
||||||
|
|
||||||
* It shall be less than or equal to `SIZE_MAX
|
The default value is 32768.
|
||||||
<https://en.cppreference.com/w/c/types/limits>`_.
|
|
||||||
|
|
||||||
DESCRIPTION:
|
.. rubric:: DESCRIPTION:
|
||||||
The value of this configuration option defines the size of the cache memory
|
|
||||||
in bytes.
|
|
||||||
|
|
||||||
NOTES:
|
The value of this configuration option defines the size of the cache memory
|
||||||
None.
|
in bytes.
|
||||||
|
|
||||||
|
.. rubric:: CONSTRAINTS:
|
||||||
|
|
||||||
|
The following constraints apply to this configuration option:
|
||||||
|
|
||||||
|
* The value of the configuration option shall be greater than or equal to zero.
|
||||||
|
|
||||||
|
* The value of the configuration option shall be less than or equal to
|
||||||
|
`SIZE_MAX <https://en.cppreference.com/w/c/types/limits>`_.
|
||||||
|
|
||||||
.. Generated from spec:/acfg/if/bdbuf-max-read-ahead-blocks
|
.. Generated from spec:/acfg/if/bdbuf-max-read-ahead-blocks
|
||||||
|
|
||||||
|
.. raw:: latex
|
||||||
|
|
||||||
|
\clearpage
|
||||||
|
|
||||||
.. index:: CONFIGURE_BDBUF_MAX_READ_AHEAD_BLOCKS
|
.. index:: CONFIGURE_BDBUF_MAX_READ_AHEAD_BLOCKS
|
||||||
|
|
||||||
.. _CONFIGURE_BDBUF_MAX_READ_AHEAD_BLOCKS:
|
.. _CONFIGURE_BDBUF_MAX_READ_AHEAD_BLOCKS:
|
||||||
@ -165,35 +193,44 @@ NOTES:
|
|||||||
CONFIGURE_BDBUF_MAX_READ_AHEAD_BLOCKS
|
CONFIGURE_BDBUF_MAX_READ_AHEAD_BLOCKS
|
||||||
-------------------------------------
|
-------------------------------------
|
||||||
|
|
||||||
CONSTANT:
|
.. rubric:: CONSTANT:
|
||||||
``CONFIGURE_BDBUF_MAX_READ_AHEAD_BLOCKS``
|
|
||||||
|
|
||||||
OPTION TYPE:
|
``CONFIGURE_BDBUF_MAX_READ_AHEAD_BLOCKS``
|
||||||
This configuration option is an integer define.
|
|
||||||
|
|
||||||
DEFAULT VALUE:
|
.. rubric:: OPTION TYPE:
|
||||||
The default value is 0.
|
|
||||||
|
|
||||||
VALUE CONSTRAINTS:
|
This configuration option is an integer define.
|
||||||
The value of this configuration option shall satisfy all of the following
|
|
||||||
constraints:
|
|
||||||
|
|
||||||
* It shall be greater than or equal to zero.
|
.. rubric:: DEFAULT VALUE:
|
||||||
|
|
||||||
* It shall be less than or equal to `UINT32_MAX
|
The default value is 0.
|
||||||
<https://en.cppreference.com/w/c/types/integer>`_.
|
|
||||||
|
|
||||||
DESCRIPTION:
|
.. rubric:: DESCRIPTION:
|
||||||
The value of this configuration option defines the maximum blocks per
|
|
||||||
read-ahead request.
|
|
||||||
|
|
||||||
NOTES:
|
The value of this configuration option defines the maximum blocks per
|
||||||
A value of 0 disables the read-ahead task (default). The read-ahead task
|
read-ahead request.
|
||||||
will issue speculative read transfers if a sequential access pattern is
|
|
||||||
detected. This can improve the performance on some systems.
|
.. rubric:: NOTES:
|
||||||
|
|
||||||
|
A value of 0 disables the read-ahead task (default). The read-ahead task
|
||||||
|
will issue speculative read transfers if a sequential access pattern is
|
||||||
|
detected. This can improve the performance on some systems.
|
||||||
|
|
||||||
|
.. rubric:: CONSTRAINTS:
|
||||||
|
|
||||||
|
The following constraints apply to this configuration option:
|
||||||
|
|
||||||
|
* The value of the configuration option shall be greater than or equal to zero.
|
||||||
|
|
||||||
|
* The value of the configuration option shall be less than or equal to
|
||||||
|
`UINT32_MAX <https://en.cppreference.com/w/c/types/integer>`_.
|
||||||
|
|
||||||
.. Generated from spec:/acfg/if/bdbuf-max-write-blocks
|
.. Generated from spec:/acfg/if/bdbuf-max-write-blocks
|
||||||
|
|
||||||
|
.. raw:: latex
|
||||||
|
|
||||||
|
\clearpage
|
||||||
|
|
||||||
.. index:: CONFIGURE_BDBUF_MAX_WRITE_BLOCKS
|
.. index:: CONFIGURE_BDBUF_MAX_WRITE_BLOCKS
|
||||||
|
|
||||||
.. _CONFIGURE_BDBUF_MAX_WRITE_BLOCKS:
|
.. _CONFIGURE_BDBUF_MAX_WRITE_BLOCKS:
|
||||||
@ -201,33 +238,38 @@ NOTES:
|
|||||||
CONFIGURE_BDBUF_MAX_WRITE_BLOCKS
|
CONFIGURE_BDBUF_MAX_WRITE_BLOCKS
|
||||||
--------------------------------
|
--------------------------------
|
||||||
|
|
||||||
CONSTANT:
|
.. rubric:: CONSTANT:
|
||||||
``CONFIGURE_BDBUF_MAX_WRITE_BLOCKS``
|
|
||||||
|
|
||||||
OPTION TYPE:
|
``CONFIGURE_BDBUF_MAX_WRITE_BLOCKS``
|
||||||
This configuration option is an integer define.
|
|
||||||
|
|
||||||
DEFAULT VALUE:
|
.. rubric:: OPTION TYPE:
|
||||||
The default value is 16.
|
|
||||||
|
|
||||||
VALUE CONSTRAINTS:
|
This configuration option is an integer define.
|
||||||
The value of this configuration option shall satisfy all of the following
|
|
||||||
constraints:
|
|
||||||
|
|
||||||
* It shall be greater than or equal to zero.
|
.. rubric:: DEFAULT VALUE:
|
||||||
|
|
||||||
* It shall be less than or equal to `UINT32_MAX
|
The default value is 16.
|
||||||
<https://en.cppreference.com/w/c/types/integer>`_.
|
|
||||||
|
|
||||||
DESCRIPTION:
|
.. rubric:: DESCRIPTION:
|
||||||
The value of this configuration option defines the maximum blocks per write
|
|
||||||
request.
|
|
||||||
|
|
||||||
NOTES:
|
The value of this configuration option defines the maximum blocks per write
|
||||||
None.
|
request.
|
||||||
|
|
||||||
|
.. rubric:: CONSTRAINTS:
|
||||||
|
|
||||||
|
The following constraints apply to this configuration option:
|
||||||
|
|
||||||
|
* The value of the configuration option shall be greater than or equal to zero.
|
||||||
|
|
||||||
|
* The value of the configuration option shall be less than or equal to
|
||||||
|
`UINT32_MAX <https://en.cppreference.com/w/c/types/integer>`_.
|
||||||
|
|
||||||
.. Generated from spec:/acfg/if/bdbuf-read-ahead-task-priority
|
.. Generated from spec:/acfg/if/bdbuf-read-ahead-task-priority
|
||||||
|
|
||||||
|
.. raw:: latex
|
||||||
|
|
||||||
|
\clearpage
|
||||||
|
|
||||||
.. index:: CONFIGURE_BDBUF_READ_AHEAD_TASK_PRIORITY
|
.. index:: CONFIGURE_BDBUF_READ_AHEAD_TASK_PRIORITY
|
||||||
|
|
||||||
.. _CONFIGURE_BDBUF_READ_AHEAD_TASK_PRIORITY:
|
.. _CONFIGURE_BDBUF_READ_AHEAD_TASK_PRIORITY:
|
||||||
@ -235,28 +277,34 @@ NOTES:
|
|||||||
CONFIGURE_BDBUF_READ_AHEAD_TASK_PRIORITY
|
CONFIGURE_BDBUF_READ_AHEAD_TASK_PRIORITY
|
||||||
----------------------------------------
|
----------------------------------------
|
||||||
|
|
||||||
CONSTANT:
|
.. rubric:: CONSTANT:
|
||||||
``CONFIGURE_BDBUF_READ_AHEAD_TASK_PRIORITY``
|
|
||||||
|
|
||||||
OPTION TYPE:
|
``CONFIGURE_BDBUF_READ_AHEAD_TASK_PRIORITY``
|
||||||
This configuration option is an integer define.
|
|
||||||
|
|
||||||
DEFAULT VALUE:
|
.. rubric:: OPTION TYPE:
|
||||||
The default value is 15.
|
|
||||||
|
|
||||||
VALUE CONSTRAINTS:
|
This configuration option is an integer define.
|
||||||
The value of this configuration option shall be a valid Classic API task
|
|
||||||
priority. The set of valid task priorities depends on the scheduler
|
|
||||||
configuration.
|
|
||||||
|
|
||||||
DESCRIPTION:
|
.. rubric:: DEFAULT VALUE:
|
||||||
The value of this configuration option defines the read-ahead task priority.
|
|
||||||
|
|
||||||
NOTES:
|
The default value is 15.
|
||||||
None.
|
|
||||||
|
.. rubric:: DESCRIPTION:
|
||||||
|
|
||||||
|
The value of this configuration option defines the read-ahead task priority.
|
||||||
|
|
||||||
|
.. rubric:: CONSTRAINTS:
|
||||||
|
|
||||||
|
The value of the configuration option shall be a valid Classic API task
|
||||||
|
priority. The set of valid task priorities depends on the scheduler
|
||||||
|
configuration.
|
||||||
|
|
||||||
.. Generated from spec:/acfg/if/bdbuf-task-stack-size
|
.. Generated from spec:/acfg/if/bdbuf-task-stack-size
|
||||||
|
|
||||||
|
.. raw:: latex
|
||||||
|
|
||||||
|
\clearpage
|
||||||
|
|
||||||
.. index:: CONFIGURE_BDBUF_TASK_STACK_SIZE
|
.. index:: CONFIGURE_BDBUF_TASK_STACK_SIZE
|
||||||
|
|
||||||
.. _CONFIGURE_BDBUF_TASK_STACK_SIZE:
|
.. _CONFIGURE_BDBUF_TASK_STACK_SIZE:
|
||||||
@ -264,39 +312,45 @@ NOTES:
|
|||||||
CONFIGURE_BDBUF_TASK_STACK_SIZE
|
CONFIGURE_BDBUF_TASK_STACK_SIZE
|
||||||
-------------------------------
|
-------------------------------
|
||||||
|
|
||||||
CONSTANT:
|
.. rubric:: CONSTANT:
|
||||||
``CONFIGURE_BDBUF_TASK_STACK_SIZE``
|
|
||||||
|
|
||||||
OPTION TYPE:
|
``CONFIGURE_BDBUF_TASK_STACK_SIZE``
|
||||||
This configuration option is an integer define.
|
|
||||||
|
|
||||||
DEFAULT VALUE:
|
.. rubric:: OPTION TYPE:
|
||||||
The default value is :c:macro:`RTEMS_MINIMUM_STACK_SIZE`.
|
|
||||||
|
|
||||||
VALUE CONSTRAINTS:
|
This configuration option is an integer define.
|
||||||
The value of this configuration option shall satisfy all of the following
|
|
||||||
constraints:
|
|
||||||
|
|
||||||
* It shall be greater than or equal to
|
.. rubric:: DEFAULT VALUE:
|
||||||
|
|
||||||
|
The default value is :c:macro:`RTEMS_MINIMUM_STACK_SIZE`.
|
||||||
|
|
||||||
|
.. rubric:: DESCRIPTION:
|
||||||
|
|
||||||
|
The value of this configuration option defines the task stack size of the
|
||||||
|
Block Device Cache tasks in bytes.
|
||||||
|
|
||||||
|
.. rubric:: CONSTRAINTS:
|
||||||
|
|
||||||
|
The following constraints apply to this configuration option:
|
||||||
|
|
||||||
|
* The value of the configuration option shall be greater than or equal to
|
||||||
:ref:`CONFIGURE_MINIMUM_TASK_STACK_SIZE`.
|
:ref:`CONFIGURE_MINIMUM_TASK_STACK_SIZE`.
|
||||||
|
|
||||||
* It shall be less than or equal to a BSP-specific and application-specific
|
* The value of the configuration option shall be less than or equal to a
|
||||||
value which depends on the size of the memory available to the
|
BSP-specific and application-specific value which depends on the size of the
|
||||||
application.
|
memory available to the application.
|
||||||
|
|
||||||
* It shall be small enough so that the task stack space calculation carried
|
* The value of the configuration option shall be small enough so that the task
|
||||||
out by ``<rtems/confdefs.h>`` does not overflow an integer of type
|
stack space calculation carried out by ``<rtems/confdefs.h>`` does not
|
||||||
`uintptr_t <https://en.cppreference.com/w/c/types/integer>`_.
|
overflow an integer of type `uintptr_t
|
||||||
|
<https://en.cppreference.com/w/c/types/integer>`_.
|
||||||
DESCRIPTION:
|
|
||||||
The value of this configuration option defines the task stack size of the
|
|
||||||
Block Device Cache tasks in bytes.
|
|
||||||
|
|
||||||
NOTES:
|
|
||||||
None.
|
|
||||||
|
|
||||||
.. Generated from spec:/acfg/if/bdbuf-swapout-block-hold
|
.. Generated from spec:/acfg/if/bdbuf-swapout-block-hold
|
||||||
|
|
||||||
|
.. raw:: latex
|
||||||
|
|
||||||
|
\clearpage
|
||||||
|
|
||||||
.. index:: CONFIGURE_SWAPOUT_BLOCK_HOLD
|
.. index:: CONFIGURE_SWAPOUT_BLOCK_HOLD
|
||||||
|
|
||||||
.. _CONFIGURE_SWAPOUT_BLOCK_HOLD:
|
.. _CONFIGURE_SWAPOUT_BLOCK_HOLD:
|
||||||
@ -304,33 +358,38 @@ NOTES:
|
|||||||
CONFIGURE_SWAPOUT_BLOCK_HOLD
|
CONFIGURE_SWAPOUT_BLOCK_HOLD
|
||||||
----------------------------
|
----------------------------
|
||||||
|
|
||||||
CONSTANT:
|
.. rubric:: CONSTANT:
|
||||||
``CONFIGURE_SWAPOUT_BLOCK_HOLD``
|
|
||||||
|
|
||||||
OPTION TYPE:
|
``CONFIGURE_SWAPOUT_BLOCK_HOLD``
|
||||||
This configuration option is an integer define.
|
|
||||||
|
|
||||||
DEFAULT VALUE:
|
.. rubric:: OPTION TYPE:
|
||||||
The default value is 1000.
|
|
||||||
|
|
||||||
VALUE CONSTRAINTS:
|
This configuration option is an integer define.
|
||||||
The value of this configuration option shall satisfy all of the following
|
|
||||||
constraints:
|
|
||||||
|
|
||||||
* It shall be greater than or equal to zero.
|
.. rubric:: DEFAULT VALUE:
|
||||||
|
|
||||||
* It shall be less than or equal to `UINT32_MAX
|
The default value is 1000.
|
||||||
<https://en.cppreference.com/w/c/types/integer>`_.
|
|
||||||
|
|
||||||
DESCRIPTION:
|
.. rubric:: DESCRIPTION:
|
||||||
The value of this configuration option defines the swapout task maximum block
|
|
||||||
hold time in milliseconds.
|
|
||||||
|
|
||||||
NOTES:
|
The value of this configuration option defines the swapout task maximum block
|
||||||
None.
|
hold time in milliseconds.
|
||||||
|
|
||||||
|
.. rubric:: CONSTRAINTS:
|
||||||
|
|
||||||
|
The following constraints apply to this configuration option:
|
||||||
|
|
||||||
|
* The value of the configuration option shall be greater than or equal to zero.
|
||||||
|
|
||||||
|
* The value of the configuration option shall be less than or equal to
|
||||||
|
`UINT32_MAX <https://en.cppreference.com/w/c/types/integer>`_.
|
||||||
|
|
||||||
.. Generated from spec:/acfg/if/bdbuf-swapout-swap-period
|
.. Generated from spec:/acfg/if/bdbuf-swapout-swap-period
|
||||||
|
|
||||||
|
.. raw:: latex
|
||||||
|
|
||||||
|
\clearpage
|
||||||
|
|
||||||
.. index:: CONFIGURE_SWAPOUT_SWAP_PERIOD
|
.. index:: CONFIGURE_SWAPOUT_SWAP_PERIOD
|
||||||
|
|
||||||
.. _CONFIGURE_SWAPOUT_SWAP_PERIOD:
|
.. _CONFIGURE_SWAPOUT_SWAP_PERIOD:
|
||||||
@ -338,33 +397,38 @@ NOTES:
|
|||||||
CONFIGURE_SWAPOUT_SWAP_PERIOD
|
CONFIGURE_SWAPOUT_SWAP_PERIOD
|
||||||
-----------------------------
|
-----------------------------
|
||||||
|
|
||||||
CONSTANT:
|
.. rubric:: CONSTANT:
|
||||||
``CONFIGURE_SWAPOUT_SWAP_PERIOD``
|
|
||||||
|
|
||||||
OPTION TYPE:
|
``CONFIGURE_SWAPOUT_SWAP_PERIOD``
|
||||||
This configuration option is an integer define.
|
|
||||||
|
|
||||||
DEFAULT VALUE:
|
.. rubric:: OPTION TYPE:
|
||||||
The default value is 250.
|
|
||||||
|
|
||||||
VALUE CONSTRAINTS:
|
This configuration option is an integer define.
|
||||||
The value of this configuration option shall satisfy all of the following
|
|
||||||
constraints:
|
|
||||||
|
|
||||||
* It shall be greater than or equal to zero.
|
.. rubric:: DEFAULT VALUE:
|
||||||
|
|
||||||
* It shall be less than or equal to `UINT32_MAX
|
The default value is 250.
|
||||||
<https://en.cppreference.com/w/c/types/integer>`_.
|
|
||||||
|
|
||||||
DESCRIPTION:
|
.. rubric:: DESCRIPTION:
|
||||||
The value of this configuration option defines the swapout task swap period
|
|
||||||
in milliseconds.
|
|
||||||
|
|
||||||
NOTES:
|
The value of this configuration option defines the swapout task swap period
|
||||||
None.
|
in milliseconds.
|
||||||
|
|
||||||
|
.. rubric:: CONSTRAINTS:
|
||||||
|
|
||||||
|
The following constraints apply to this configuration option:
|
||||||
|
|
||||||
|
* The value of the configuration option shall be greater than or equal to zero.
|
||||||
|
|
||||||
|
* The value of the configuration option shall be less than or equal to
|
||||||
|
`UINT32_MAX <https://en.cppreference.com/w/c/types/integer>`_.
|
||||||
|
|
||||||
.. Generated from spec:/acfg/if/bdbuf-swapout-task-priority
|
.. Generated from spec:/acfg/if/bdbuf-swapout-task-priority
|
||||||
|
|
||||||
|
.. raw:: latex
|
||||||
|
|
||||||
|
\clearpage
|
||||||
|
|
||||||
.. index:: CONFIGURE_SWAPOUT_TASK_PRIORITY
|
.. index:: CONFIGURE_SWAPOUT_TASK_PRIORITY
|
||||||
|
|
||||||
.. _CONFIGURE_SWAPOUT_TASK_PRIORITY:
|
.. _CONFIGURE_SWAPOUT_TASK_PRIORITY:
|
||||||
@ -372,28 +436,34 @@ NOTES:
|
|||||||
CONFIGURE_SWAPOUT_TASK_PRIORITY
|
CONFIGURE_SWAPOUT_TASK_PRIORITY
|
||||||
-------------------------------
|
-------------------------------
|
||||||
|
|
||||||
CONSTANT:
|
.. rubric:: CONSTANT:
|
||||||
``CONFIGURE_SWAPOUT_TASK_PRIORITY``
|
|
||||||
|
|
||||||
OPTION TYPE:
|
``CONFIGURE_SWAPOUT_TASK_PRIORITY``
|
||||||
This configuration option is an integer define.
|
|
||||||
|
|
||||||
DEFAULT VALUE:
|
.. rubric:: OPTION TYPE:
|
||||||
The default value is 15.
|
|
||||||
|
|
||||||
VALUE CONSTRAINTS:
|
This configuration option is an integer define.
|
||||||
The value of this configuration option shall be a valid Classic API task
|
|
||||||
priority. The set of valid task priorities depends on the scheduler
|
|
||||||
configuration.
|
|
||||||
|
|
||||||
DESCRIPTION:
|
.. rubric:: DEFAULT VALUE:
|
||||||
The value of this configuration option defines the swapout task priority.
|
|
||||||
|
|
||||||
NOTES:
|
The default value is 15.
|
||||||
None.
|
|
||||||
|
.. rubric:: DESCRIPTION:
|
||||||
|
|
||||||
|
The value of this configuration option defines the swapout task priority.
|
||||||
|
|
||||||
|
.. rubric:: CONSTRAINTS:
|
||||||
|
|
||||||
|
The value of the configuration option shall be a valid Classic API task
|
||||||
|
priority. The set of valid task priorities depends on the scheduler
|
||||||
|
configuration.
|
||||||
|
|
||||||
.. Generated from spec:/acfg/if/bdbuf-swapout-worker-tasks
|
.. Generated from spec:/acfg/if/bdbuf-swapout-worker-tasks
|
||||||
|
|
||||||
|
.. raw:: latex
|
||||||
|
|
||||||
|
\clearpage
|
||||||
|
|
||||||
.. index:: CONFIGURE_SWAPOUT_WORKER_TASKS
|
.. index:: CONFIGURE_SWAPOUT_WORKER_TASKS
|
||||||
|
|
||||||
.. _CONFIGURE_SWAPOUT_WORKER_TASKS:
|
.. _CONFIGURE_SWAPOUT_WORKER_TASKS:
|
||||||
@ -401,32 +471,37 @@ NOTES:
|
|||||||
CONFIGURE_SWAPOUT_WORKER_TASKS
|
CONFIGURE_SWAPOUT_WORKER_TASKS
|
||||||
------------------------------
|
------------------------------
|
||||||
|
|
||||||
CONSTANT:
|
.. rubric:: CONSTANT:
|
||||||
``CONFIGURE_SWAPOUT_WORKER_TASKS``
|
|
||||||
|
|
||||||
OPTION TYPE:
|
``CONFIGURE_SWAPOUT_WORKER_TASKS``
|
||||||
This configuration option is an integer define.
|
|
||||||
|
|
||||||
DEFAULT VALUE:
|
.. rubric:: OPTION TYPE:
|
||||||
The default value is 0.
|
|
||||||
|
|
||||||
VALUE CONSTRAINTS:
|
This configuration option is an integer define.
|
||||||
The value of this configuration option shall satisfy all of the following
|
|
||||||
constraints:
|
|
||||||
|
|
||||||
* It shall be greater than or equal to zero.
|
.. rubric:: DEFAULT VALUE:
|
||||||
|
|
||||||
* It shall be less than or equal to `UINT32_MAX
|
The default value is 0.
|
||||||
<https://en.cppreference.com/w/c/types/integer>`_.
|
|
||||||
|
|
||||||
DESCRIPTION:
|
.. rubric:: DESCRIPTION:
|
||||||
The value of this configuration option defines the swapout worker task count.
|
|
||||||
|
|
||||||
NOTES:
|
The value of this configuration option defines the swapout worker task count.
|
||||||
None.
|
|
||||||
|
.. rubric:: CONSTRAINTS:
|
||||||
|
|
||||||
|
The following constraints apply to this configuration option:
|
||||||
|
|
||||||
|
* The value of the configuration option shall be greater than or equal to zero.
|
||||||
|
|
||||||
|
* The value of the configuration option shall be less than or equal to
|
||||||
|
`UINT32_MAX <https://en.cppreference.com/w/c/types/integer>`_.
|
||||||
|
|
||||||
.. Generated from spec:/acfg/if/bdbuf-swapout-worker-taskp-riority
|
.. Generated from spec:/acfg/if/bdbuf-swapout-worker-taskp-riority
|
||||||
|
|
||||||
|
.. raw:: latex
|
||||||
|
|
||||||
|
\clearpage
|
||||||
|
|
||||||
.. index:: CONFIGURE_SWAPOUT_WORKER_TASK_PRIORITY
|
.. index:: CONFIGURE_SWAPOUT_WORKER_TASK_PRIORITY
|
||||||
|
|
||||||
.. _CONFIGURE_SWAPOUT_WORKER_TASK_PRIORITY:
|
.. _CONFIGURE_SWAPOUT_WORKER_TASK_PRIORITY:
|
||||||
@ -434,23 +509,25 @@ NOTES:
|
|||||||
CONFIGURE_SWAPOUT_WORKER_TASK_PRIORITY
|
CONFIGURE_SWAPOUT_WORKER_TASK_PRIORITY
|
||||||
--------------------------------------
|
--------------------------------------
|
||||||
|
|
||||||
CONSTANT:
|
.. rubric:: CONSTANT:
|
||||||
``CONFIGURE_SWAPOUT_WORKER_TASK_PRIORITY``
|
|
||||||
|
|
||||||
OPTION TYPE:
|
``CONFIGURE_SWAPOUT_WORKER_TASK_PRIORITY``
|
||||||
This configuration option is an integer define.
|
|
||||||
|
|
||||||
DEFAULT VALUE:
|
.. rubric:: OPTION TYPE:
|
||||||
The default value is 15.
|
|
||||||
|
|
||||||
VALUE CONSTRAINTS:
|
This configuration option is an integer define.
|
||||||
The value of this configuration option shall be a valid Classic API task
|
|
||||||
priority. The set of valid task priorities depends on the scheduler
|
|
||||||
configuration.
|
|
||||||
|
|
||||||
DESCRIPTION:
|
.. rubric:: DEFAULT VALUE:
|
||||||
The value of this configuration option defines the swapout worker task
|
|
||||||
priority.
|
|
||||||
|
|
||||||
NOTES:
|
The default value is 15.
|
||||||
None.
|
|
||||||
|
.. rubric:: DESCRIPTION:
|
||||||
|
|
||||||
|
The value of this configuration option defines the swapout worker task
|
||||||
|
priority.
|
||||||
|
|
||||||
|
.. rubric:: CONSTRAINTS:
|
||||||
|
|
||||||
|
The value of the configuration option shall be a valid Classic API task
|
||||||
|
priority. The set of valid task priorities depends on the scheduler
|
||||||
|
configuration.
|
||||||
|
@ -30,6 +30,10 @@ configuration options may have a BSP-specific setting which is defined by
|
|||||||
|
|
||||||
.. Generated from spec:/acfg/if/bsp-idle-task-body
|
.. Generated from spec:/acfg/if/bsp-idle-task-body
|
||||||
|
|
||||||
|
.. raw:: latex
|
||||||
|
|
||||||
|
\clearpage
|
||||||
|
|
||||||
.. index:: BSP_IDLE_TASK_BODY
|
.. index:: BSP_IDLE_TASK_BODY
|
||||||
|
|
||||||
.. _BSP_IDLE_TASK_BODY:
|
.. _BSP_IDLE_TASK_BODY:
|
||||||
@ -37,36 +41,46 @@ configuration options may have a BSP-specific setting which is defined by
|
|||||||
BSP_IDLE_TASK_BODY
|
BSP_IDLE_TASK_BODY
|
||||||
------------------
|
------------------
|
||||||
|
|
||||||
CONSTANT:
|
.. rubric:: CONSTANT:
|
||||||
``BSP_IDLE_TASK_BODY``
|
|
||||||
|
|
||||||
OPTION TYPE:
|
``BSP_IDLE_TASK_BODY``
|
||||||
This configuration option is an initializer define.
|
|
||||||
|
|
||||||
DEFAULT VALUE:
|
.. rubric:: OPTION TYPE:
|
||||||
The default value is BSP-specific.
|
|
||||||
|
|
||||||
VALUE CONSTRAINTS:
|
This configuration option is an initializer define.
|
||||||
The value of this configuration option shall be defined to a valid function
|
|
||||||
pointer of the type ``void *( *idle_body )( uintptr_t )``.
|
|
||||||
|
|
||||||
DESCRIPTION:
|
.. rubric:: DEFAULT VALUE:
|
||||||
If
|
|
||||||
|
|
||||||
* this configuration option is defined by the BSP
|
The default value is BSP-specific.
|
||||||
|
|
||||||
* and :ref:`CONFIGURE_DISABLE_BSP_SETTINGS` is undefined,
|
.. rubric:: DESCRIPTION:
|
||||||
|
|
||||||
then the value of this configuration option defines the default value of
|
If
|
||||||
:ref:`CONFIGURE_IDLE_TASK_BODY`.
|
|
||||||
|
|
||||||
NOTES:
|
* this configuration option is defined by the BSP
|
||||||
As it has knowledge of the specific CPU model, system controller logic, and
|
|
||||||
peripheral buses, a BSP-specific IDLE task may be capable of turning
|
* and :ref:`CONFIGURE_DISABLE_BSP_SETTINGS` is undefined,
|
||||||
components off to save power during extended periods of no task activity.
|
|
||||||
|
then the value of this configuration option defines the default value of
|
||||||
|
:ref:`CONFIGURE_IDLE_TASK_BODY`.
|
||||||
|
|
||||||
|
.. rubric:: NOTES:
|
||||||
|
|
||||||
|
As it has knowledge of the specific CPU model, system controller logic, and
|
||||||
|
peripheral buses, a BSP-specific IDLE task may be capable of turning
|
||||||
|
components off to save power during extended periods of no task activity.
|
||||||
|
|
||||||
|
.. rubric:: CONSTRAINTS:
|
||||||
|
|
||||||
|
The value of the configuration option shall be defined to a valid function
|
||||||
|
pointer of the type ``void *( *idle_body )( uintptr_t )``.
|
||||||
|
|
||||||
.. Generated from spec:/acfg/if/bsp-idle-task-stack-size
|
.. Generated from spec:/acfg/if/bsp-idle-task-stack-size
|
||||||
|
|
||||||
|
.. raw:: latex
|
||||||
|
|
||||||
|
\clearpage
|
||||||
|
|
||||||
.. index:: BSP_IDLE_TASK_STACK_SIZE
|
.. index:: BSP_IDLE_TASK_STACK_SIZE
|
||||||
|
|
||||||
.. _BSP_IDLE_TASK_STACK_SIZE:
|
.. _BSP_IDLE_TASK_STACK_SIZE:
|
||||||
@ -74,41 +88,47 @@ NOTES:
|
|||||||
BSP_IDLE_TASK_STACK_SIZE
|
BSP_IDLE_TASK_STACK_SIZE
|
||||||
------------------------
|
------------------------
|
||||||
|
|
||||||
CONSTANT:
|
.. rubric:: CONSTANT:
|
||||||
``BSP_IDLE_TASK_STACK_SIZE``
|
|
||||||
|
|
||||||
OPTION TYPE:
|
``BSP_IDLE_TASK_STACK_SIZE``
|
||||||
This configuration option is an integer define.
|
|
||||||
|
|
||||||
DEFAULT VALUE:
|
.. rubric:: OPTION TYPE:
|
||||||
The default value is BSP-specific.
|
|
||||||
|
|
||||||
VALUE CONSTRAINTS:
|
This configuration option is an integer define.
|
||||||
The value of this configuration option shall satisfy all of the following
|
|
||||||
constraints:
|
|
||||||
|
|
||||||
* It shall be greater than or equal to a BSP-specific and
|
.. rubric:: DEFAULT VALUE:
|
||||||
application-specific minimum value.
|
|
||||||
|
|
||||||
* It shall be small enough so that the IDLE task stack area calculation
|
The default value is BSP-specific.
|
||||||
carried out by ``<rtems/confdefs.h>`` does not overflow an integer of
|
|
||||||
type `size_t <https://en.cppreference.com/w/c/types/size_t>`_.
|
|
||||||
|
|
||||||
DESCRIPTION:
|
.. rubric:: DESCRIPTION:
|
||||||
If
|
|
||||||
|
|
||||||
* this configuration option is defined by the BSP
|
If
|
||||||
|
|
||||||
* and :ref:`CONFIGURE_DISABLE_BSP_SETTINGS` is undefined,
|
* this configuration option is defined by the BSP
|
||||||
|
|
||||||
then the value of this configuration option defines the default value of
|
* and :ref:`CONFIGURE_DISABLE_BSP_SETTINGS` is undefined,
|
||||||
:ref:`CONFIGURE_IDLE_TASK_STACK_SIZE`.
|
|
||||||
|
|
||||||
NOTES:
|
then the value of this configuration option defines the default value of
|
||||||
None.
|
:ref:`CONFIGURE_IDLE_TASK_STACK_SIZE`.
|
||||||
|
|
||||||
|
.. rubric:: CONSTRAINTS:
|
||||||
|
|
||||||
|
The following constraints apply to this configuration option:
|
||||||
|
|
||||||
|
* The value of the configuration option shall be greater than or equal to a
|
||||||
|
BSP-specific and application-specific minimum value.
|
||||||
|
|
||||||
|
* The value of the configuration option shall be small enough so that the IDLE
|
||||||
|
task stack area calculation carried out by ``<rtems/confdefs.h>`` does not
|
||||||
|
overflow an integer of type `size_t
|
||||||
|
<https://en.cppreference.com/w/c/types/size_t>`_.
|
||||||
|
|
||||||
.. Generated from spec:/acfg/if/bsp-initial-extension
|
.. Generated from spec:/acfg/if/bsp-initial-extension
|
||||||
|
|
||||||
|
.. raw:: latex
|
||||||
|
|
||||||
|
\clearpage
|
||||||
|
|
||||||
.. index:: BSP_INITIAL_EXTENSION
|
.. index:: BSP_INITIAL_EXTENSION
|
||||||
|
|
||||||
.. _BSP_INITIAL_EXTENSION:
|
.. _BSP_INITIAL_EXTENSION:
|
||||||
@ -116,35 +136,45 @@ NOTES:
|
|||||||
BSP_INITIAL_EXTENSION
|
BSP_INITIAL_EXTENSION
|
||||||
---------------------
|
---------------------
|
||||||
|
|
||||||
CONSTANT:
|
.. rubric:: CONSTANT:
|
||||||
``BSP_INITIAL_EXTENSION``
|
|
||||||
|
|
||||||
OPTION TYPE:
|
``BSP_INITIAL_EXTENSION``
|
||||||
This configuration option is an initializer define.
|
|
||||||
|
|
||||||
DEFAULT VALUE:
|
.. rubric:: OPTION TYPE:
|
||||||
The default value is BSP-specific.
|
|
||||||
|
|
||||||
VALUE CONSTRAINTS:
|
This configuration option is an initializer define.
|
||||||
The value of this configuration option shall be a list of initializers for
|
|
||||||
structures of type :c:type:`rtems_extensions_table`.
|
|
||||||
|
|
||||||
DESCRIPTION:
|
.. rubric:: DEFAULT VALUE:
|
||||||
If
|
|
||||||
|
|
||||||
* this configuration option is defined by the BSP
|
The default value is BSP-specific.
|
||||||
|
|
||||||
* and :ref:`CONFIGURE_DISABLE_BSP_SETTINGS` is undefined,
|
.. rubric:: DESCRIPTION:
|
||||||
|
|
||||||
then the value of this configuration option is used to initialize the table
|
If
|
||||||
of initial user extensions.
|
|
||||||
|
|
||||||
NOTES:
|
* this configuration option is defined by the BSP
|
||||||
The value of this configuration option is placed after the entries of all
|
|
||||||
other initial user extensions.
|
* and :ref:`CONFIGURE_DISABLE_BSP_SETTINGS` is undefined,
|
||||||
|
|
||||||
|
then the value of this configuration option is used to initialize the table
|
||||||
|
of initial user extensions.
|
||||||
|
|
||||||
|
.. rubric:: NOTES:
|
||||||
|
|
||||||
|
The value of this configuration option is placed after the entries of all
|
||||||
|
other initial user extensions.
|
||||||
|
|
||||||
|
.. rubric:: CONSTRAINTS:
|
||||||
|
|
||||||
|
The value of the configuration option shall be a list of initializers for
|
||||||
|
structures of type :c:type:`rtems_extensions_table`.
|
||||||
|
|
||||||
.. Generated from spec:/acfg/if/bsp-interrupt-stack-size
|
.. Generated from spec:/acfg/if/bsp-interrupt-stack-size
|
||||||
|
|
||||||
|
.. raw:: latex
|
||||||
|
|
||||||
|
\clearpage
|
||||||
|
|
||||||
.. index:: BSP_INTERRUPT_STACK_SIZE
|
.. index:: BSP_INTERRUPT_STACK_SIZE
|
||||||
|
|
||||||
.. _BSP_INTERRUPT_STACK_SIZE:
|
.. _BSP_INTERRUPT_STACK_SIZE:
|
||||||
@ -152,44 +182,50 @@ NOTES:
|
|||||||
BSP_INTERRUPT_STACK_SIZE
|
BSP_INTERRUPT_STACK_SIZE
|
||||||
------------------------
|
------------------------
|
||||||
|
|
||||||
CONSTANT:
|
.. rubric:: CONSTANT:
|
||||||
``BSP_INTERRUPT_STACK_SIZE``
|
|
||||||
|
|
||||||
OPTION TYPE:
|
``BSP_INTERRUPT_STACK_SIZE``
|
||||||
This configuration option is an integer define.
|
|
||||||
|
|
||||||
DEFAULT VALUE:
|
.. rubric:: OPTION TYPE:
|
||||||
The default value is BSP-specific.
|
|
||||||
|
|
||||||
VALUE CONSTRAINTS:
|
This configuration option is an integer define.
|
||||||
The value of this configuration option shall satisfy all of the following
|
|
||||||
constraints:
|
|
||||||
|
|
||||||
* It shall be greater than or equal to a BSP-specific and
|
.. rubric:: DEFAULT VALUE:
|
||||||
application-specific minimum value.
|
|
||||||
|
|
||||||
* It shall be small enough so that the interrupt stack area calculation
|
The default value is BSP-specific.
|
||||||
carried out by ``<rtems/confdefs.h>`` does not overflow an integer of
|
|
||||||
type `size_t <https://en.cppreference.com/w/c/types/size_t>`_.
|
|
||||||
|
|
||||||
* It shall be aligned according to
|
.. rubric:: DESCRIPTION:
|
||||||
|
|
||||||
|
If
|
||||||
|
|
||||||
|
* this configuration option is defined by the BSP
|
||||||
|
|
||||||
|
* and :ref:`CONFIGURE_DISABLE_BSP_SETTINGS` is undefined,
|
||||||
|
|
||||||
|
then the value of this configuration option defines the default value of
|
||||||
|
:ref:`CONFIGURE_INTERRUPT_STACK_SIZE`.
|
||||||
|
|
||||||
|
.. rubric:: CONSTRAINTS:
|
||||||
|
|
||||||
|
The following constraints apply to this configuration option:
|
||||||
|
|
||||||
|
* The value of the configuration option shall be greater than or equal to a
|
||||||
|
BSP-specific and application-specific minimum value.
|
||||||
|
|
||||||
|
* The value of the configuration option shall be small enough so that the
|
||||||
|
interrupt stack area calculation carried out by ``<rtems/confdefs.h>`` does
|
||||||
|
not overflow an integer of type `size_t
|
||||||
|
<https://en.cppreference.com/w/c/types/size_t>`_.
|
||||||
|
|
||||||
|
* The value of the configuration option shall be aligned according to
|
||||||
:c:macro:`CPU_INTERRUPT_STACK_ALIGNMENT`.
|
:c:macro:`CPU_INTERRUPT_STACK_ALIGNMENT`.
|
||||||
|
|
||||||
DESCRIPTION:
|
|
||||||
If
|
|
||||||
|
|
||||||
* this configuration option is defined by the BSP
|
|
||||||
|
|
||||||
* and :ref:`CONFIGURE_DISABLE_BSP_SETTINGS` is undefined,
|
|
||||||
|
|
||||||
then the value of this configuration option defines the default value of
|
|
||||||
:ref:`CONFIGURE_INTERRUPT_STACK_SIZE`.
|
|
||||||
|
|
||||||
NOTES:
|
|
||||||
None.
|
|
||||||
|
|
||||||
.. Generated from spec:/acfg/if/bsp-prerequisite-drivers
|
.. Generated from spec:/acfg/if/bsp-prerequisite-drivers
|
||||||
|
|
||||||
|
.. raw:: latex
|
||||||
|
|
||||||
|
\clearpage
|
||||||
|
|
||||||
.. index:: CONFIGURE_BSP_PREREQUISITE_DRIVERS
|
.. index:: CONFIGURE_BSP_PREREQUISITE_DRIVERS
|
||||||
|
|
||||||
.. _CONFIGURE_BSP_PREREQUISITE_DRIVERS:
|
.. _CONFIGURE_BSP_PREREQUISITE_DRIVERS:
|
||||||
@ -197,36 +233,46 @@ NOTES:
|
|||||||
CONFIGURE_BSP_PREREQUISITE_DRIVERS
|
CONFIGURE_BSP_PREREQUISITE_DRIVERS
|
||||||
----------------------------------
|
----------------------------------
|
||||||
|
|
||||||
CONSTANT:
|
.. rubric:: CONSTANT:
|
||||||
``CONFIGURE_BSP_PREREQUISITE_DRIVERS``
|
|
||||||
|
|
||||||
OPTION TYPE:
|
``CONFIGURE_BSP_PREREQUISITE_DRIVERS``
|
||||||
This configuration option is an initializer define.
|
|
||||||
|
|
||||||
DEFAULT VALUE:
|
.. rubric:: OPTION TYPE:
|
||||||
The default value is BSP-specific.
|
|
||||||
|
|
||||||
VALUE CONSTRAINTS:
|
This configuration option is an initializer define.
|
||||||
The value of this configuration option shall be a list of initializers for
|
|
||||||
structures of type :c:type:`rtems_extensions_table`.
|
|
||||||
|
|
||||||
DESCRIPTION:
|
.. rubric:: DEFAULT VALUE:
|
||||||
If
|
|
||||||
|
|
||||||
* this configuration option is defined by the BSP
|
The default value is BSP-specific.
|
||||||
|
|
||||||
* and :ref:`CONFIGURE_DISABLE_BSP_SETTINGS` is undefined,
|
.. rubric:: DESCRIPTION:
|
||||||
|
|
||||||
then the value of this configuration option is used to add BSP-provided
|
If
|
||||||
prerequisite drivers to the Device Driver Table.
|
|
||||||
|
|
||||||
NOTES:
|
* this configuration option is defined by the BSP
|
||||||
The value of this configuration option is placed before the entries of all
|
|
||||||
other initial user extensions (including
|
* and :ref:`CONFIGURE_DISABLE_BSP_SETTINGS` is undefined,
|
||||||
:ref:`CONFIGURE_APPLICATION_PREREQUISITE_DRIVERS`).
|
|
||||||
|
then the value of this configuration option is used to add BSP-provided
|
||||||
|
prerequisite drivers to the Device Driver Table.
|
||||||
|
|
||||||
|
.. rubric:: NOTES:
|
||||||
|
|
||||||
|
The value of this configuration option is placed before the entries of all
|
||||||
|
other initial user extensions (including
|
||||||
|
:ref:`CONFIGURE_APPLICATION_PREREQUISITE_DRIVERS`).
|
||||||
|
|
||||||
|
.. rubric:: CONSTRAINTS:
|
||||||
|
|
||||||
|
The value of the configuration option shall be a list of initializers for
|
||||||
|
structures of type :c:type:`rtems_extensions_table`.
|
||||||
|
|
||||||
.. Generated from spec:/acfg/if/disable-bsp-settings
|
.. Generated from spec:/acfg/if/disable-bsp-settings
|
||||||
|
|
||||||
|
.. raw:: latex
|
||||||
|
|
||||||
|
\clearpage
|
||||||
|
|
||||||
.. index:: CONFIGURE_DISABLE_BSP_SETTINGS
|
.. index:: CONFIGURE_DISABLE_BSP_SETTINGS
|
||||||
|
|
||||||
.. _CONFIGURE_DISABLE_BSP_SETTINGS:
|
.. _CONFIGURE_DISABLE_BSP_SETTINGS:
|
||||||
@ -234,37 +280,42 @@ NOTES:
|
|||||||
CONFIGURE_DISABLE_BSP_SETTINGS
|
CONFIGURE_DISABLE_BSP_SETTINGS
|
||||||
------------------------------
|
------------------------------
|
||||||
|
|
||||||
CONSTANT:
|
.. rubric:: CONSTANT:
|
||||||
``CONFIGURE_DISABLE_BSP_SETTINGS``
|
|
||||||
|
|
||||||
OPTION TYPE:
|
``CONFIGURE_DISABLE_BSP_SETTINGS``
|
||||||
This configuration option is a boolean feature define.
|
|
||||||
|
|
||||||
DEFAULT CONFIGURATION:
|
.. rubric:: OPTION TYPE:
|
||||||
If this configuration option is undefined, then the described feature is not
|
|
||||||
enabled.
|
|
||||||
|
|
||||||
DESCRIPTION:
|
This configuration option is a boolean feature define.
|
||||||
In case this configuration option is defined, then the following BSP related
|
|
||||||
configuration options are undefined:
|
|
||||||
|
|
||||||
* :ref:`BSP_IDLE_TASK_BODY`
|
.. rubric:: DEFAULT CONFIGURATION:
|
||||||
|
|
||||||
* :ref:`BSP_IDLE_TASK_STACK_SIZE`
|
If this configuration option is undefined, then the described feature is not
|
||||||
|
enabled.
|
||||||
|
|
||||||
* :ref:`BSP_INITIAL_EXTENSION`
|
.. rubric:: DESCRIPTION:
|
||||||
|
|
||||||
* :ref:`BSP_INTERRUPT_STACK_SIZE`
|
In case this configuration option is defined, then the following BSP related
|
||||||
|
configuration options are undefined:
|
||||||
|
|
||||||
* :ref:`CONFIGURE_BSP_PREREQUISITE_DRIVERS`
|
* :ref:`BSP_IDLE_TASK_BODY`
|
||||||
|
|
||||||
* :ref:`CONFIGURE_MALLOC_BSP_SUPPORTS_SBRK`
|
* :ref:`BSP_IDLE_TASK_STACK_SIZE`
|
||||||
|
|
||||||
NOTES:
|
* :ref:`BSP_INITIAL_EXTENSION`
|
||||||
None.
|
|
||||||
|
* :ref:`BSP_INTERRUPT_STACK_SIZE`
|
||||||
|
|
||||||
|
* :ref:`CONFIGURE_BSP_PREREQUISITE_DRIVERS`
|
||||||
|
|
||||||
|
* :ref:`CONFIGURE_MALLOC_BSP_SUPPORTS_SBRK`
|
||||||
|
|
||||||
.. Generated from spec:/acfg/if/malloc-bsp-supports-sbrk
|
.. Generated from spec:/acfg/if/malloc-bsp-supports-sbrk
|
||||||
|
|
||||||
|
.. raw:: latex
|
||||||
|
|
||||||
|
\clearpage
|
||||||
|
|
||||||
.. index:: CONFIGURE_MALLOC_BSP_SUPPORTS_SBRK
|
.. index:: CONFIGURE_MALLOC_BSP_SUPPORTS_SBRK
|
||||||
|
|
||||||
.. _CONFIGURE_MALLOC_BSP_SUPPORTS_SBRK:
|
.. _CONFIGURE_MALLOC_BSP_SUPPORTS_SBRK:
|
||||||
@ -272,28 +323,33 @@ NOTES:
|
|||||||
CONFIGURE_MALLOC_BSP_SUPPORTS_SBRK
|
CONFIGURE_MALLOC_BSP_SUPPORTS_SBRK
|
||||||
----------------------------------
|
----------------------------------
|
||||||
|
|
||||||
CONSTANT:
|
.. rubric:: CONSTANT:
|
||||||
``CONFIGURE_MALLOC_BSP_SUPPORTS_SBRK``
|
|
||||||
|
|
||||||
OPTION TYPE:
|
``CONFIGURE_MALLOC_BSP_SUPPORTS_SBRK``
|
||||||
This configuration option is a boolean feature define.
|
|
||||||
|
|
||||||
DEFAULT CONFIGURATION:
|
.. rubric:: OPTION TYPE:
|
||||||
If this configuration option is undefined, then the described feature is not
|
|
||||||
enabled.
|
|
||||||
|
|
||||||
DESCRIPTION:
|
This configuration option is a boolean feature define.
|
||||||
If
|
|
||||||
|
|
||||||
* this configuration option is defined by the BSP
|
.. rubric:: DEFAULT CONFIGURATION:
|
||||||
|
|
||||||
* and :ref:`CONFIGURE_DISABLE_BSP_SETTINGS` is undefined,
|
If this configuration option is undefined, then the described feature is not
|
||||||
|
enabled.
|
||||||
|
|
||||||
then not all memory is made available to the C Program Heap immediately at
|
.. rubric:: DESCRIPTION:
|
||||||
system initialization time. When :c:func:`malloc` or other standard
|
|
||||||
memory allocation functions are unable to allocate memory, they will call the
|
|
||||||
BSP supplied :c:func:`sbrk` function to obtain more memory.
|
|
||||||
|
|
||||||
NOTES:
|
If
|
||||||
This option should not be defined by the application. Only the BSP knows how
|
|
||||||
it allocates memory to the C Program Heap.
|
* this configuration option is defined by the BSP
|
||||||
|
|
||||||
|
* and :ref:`CONFIGURE_DISABLE_BSP_SETTINGS` is undefined,
|
||||||
|
|
||||||
|
then not all memory is made available to the C Program Heap immediately at
|
||||||
|
system initialization time. When :c:func:`malloc` or other standard
|
||||||
|
memory allocation functions are unable to allocate memory, they will call the
|
||||||
|
BSP supplied :c:func:`sbrk` function to obtain more memory.
|
||||||
|
|
||||||
|
.. rubric:: NOTES:
|
||||||
|
|
||||||
|
This option should not be defined by the application. Only the BSP knows how
|
||||||
|
it allocates memory to the C Program Heap.
|
||||||
|
@ -27,6 +27,10 @@ This section describes configuration options related to the Classic API.
|
|||||||
|
|
||||||
.. Generated from spec:/acfg/if/max-barriers
|
.. Generated from spec:/acfg/if/max-barriers
|
||||||
|
|
||||||
|
.. raw:: latex
|
||||||
|
|
||||||
|
\clearpage
|
||||||
|
|
||||||
.. index:: CONFIGURE_MAXIMUM_BARRIERS
|
.. index:: CONFIGURE_MAXIMUM_BARRIERS
|
||||||
|
|
||||||
.. _CONFIGURE_MAXIMUM_BARRIERS:
|
.. _CONFIGURE_MAXIMUM_BARRIERS:
|
||||||
@ -34,42 +38,51 @@ This section describes configuration options related to the Classic API.
|
|||||||
CONFIGURE_MAXIMUM_BARRIERS
|
CONFIGURE_MAXIMUM_BARRIERS
|
||||||
--------------------------
|
--------------------------
|
||||||
|
|
||||||
CONSTANT:
|
.. rubric:: CONSTANT:
|
||||||
``CONFIGURE_MAXIMUM_BARRIERS``
|
|
||||||
|
|
||||||
OPTION TYPE:
|
``CONFIGURE_MAXIMUM_BARRIERS``
|
||||||
This configuration option is an integer define.
|
|
||||||
|
|
||||||
DEFAULT VALUE:
|
.. rubric:: OPTION TYPE:
|
||||||
The default value is 0.
|
|
||||||
|
|
||||||
VALUE CONSTRAINTS:
|
This configuration option is an integer define.
|
||||||
The value of this configuration option shall satisfy all of the following
|
|
||||||
constraints:
|
|
||||||
|
|
||||||
* It shall be greater than or equal to zero.
|
.. rubric:: DEFAULT VALUE:
|
||||||
|
|
||||||
* It shall be less than or equal to 65535.
|
The default value is 0.
|
||||||
|
|
||||||
* It shall be less than or equal to a BSP-specific and application-specific
|
.. rubric:: DESCRIPTION:
|
||||||
value which depends on the size of the memory available to the
|
|
||||||
application.
|
|
||||||
|
|
||||||
* It may be defined through :c:func:`rtems_resource_unlimited` the enable
|
The value of this configuration option defines the maximum number of Classic
|
||||||
unlimited objects for the object class, if the value passed to
|
API Barriers that can be concurrently active.
|
||||||
:c:func:`rtems_resource_unlimited` satisfies all other constraints of the
|
|
||||||
configuration option.
|
|
||||||
|
|
||||||
DESCRIPTION:
|
.. rubric:: NOTES:
|
||||||
The value of this configuration option defines the maximum number of Classic
|
|
||||||
API Barriers that can be concurrently active.
|
|
||||||
|
|
||||||
NOTES:
|
This object class can be configured in unlimited allocation mode, see
|
||||||
This object class can be configured in unlimited allocation mode, see
|
:ref:`ConfigUnlimitedObjects`.
|
||||||
:ref:`ConfigUnlimitedObjects`.
|
|
||||||
|
.. rubric:: CONSTRAINTS:
|
||||||
|
|
||||||
|
The following constraints apply to this configuration option:
|
||||||
|
|
||||||
|
* The value of the configuration option shall be greater than or equal to zero.
|
||||||
|
|
||||||
|
* The value of the configuration option shall be less than or equal to 65535.
|
||||||
|
|
||||||
|
* The value of the configuration option shall be less than or equal to a
|
||||||
|
BSP-specific and application-specific value which depends on the size of the
|
||||||
|
memory available to the application.
|
||||||
|
|
||||||
|
* The value of the configuration option may be defined through
|
||||||
|
:c:func:`rtems_resource_unlimited` the enable unlimited objects for the
|
||||||
|
object class, if the value passed to :c:func:`rtems_resource_unlimited`
|
||||||
|
satisfies all other constraints of the configuration option.
|
||||||
|
|
||||||
.. Generated from spec:/acfg/if/max-message-queues
|
.. Generated from spec:/acfg/if/max-message-queues
|
||||||
|
|
||||||
|
.. raw:: latex
|
||||||
|
|
||||||
|
\clearpage
|
||||||
|
|
||||||
.. index:: CONFIGURE_MAXIMUM_MESSAGE_QUEUES
|
.. index:: CONFIGURE_MAXIMUM_MESSAGE_QUEUES
|
||||||
|
|
||||||
.. _CONFIGURE_MAXIMUM_MESSAGE_QUEUES:
|
.. _CONFIGURE_MAXIMUM_MESSAGE_QUEUES:
|
||||||
@ -77,44 +90,53 @@ NOTES:
|
|||||||
CONFIGURE_MAXIMUM_MESSAGE_QUEUES
|
CONFIGURE_MAXIMUM_MESSAGE_QUEUES
|
||||||
--------------------------------
|
--------------------------------
|
||||||
|
|
||||||
CONSTANT:
|
.. rubric:: CONSTANT:
|
||||||
``CONFIGURE_MAXIMUM_MESSAGE_QUEUES``
|
|
||||||
|
|
||||||
OPTION TYPE:
|
``CONFIGURE_MAXIMUM_MESSAGE_QUEUES``
|
||||||
This configuration option is an integer define.
|
|
||||||
|
|
||||||
DEFAULT VALUE:
|
.. rubric:: OPTION TYPE:
|
||||||
The default value is 0.
|
|
||||||
|
|
||||||
VALUE CONSTRAINTS:
|
This configuration option is an integer define.
|
||||||
The value of this configuration option shall satisfy all of the following
|
|
||||||
constraints:
|
|
||||||
|
|
||||||
* It shall be greater than or equal to zero.
|
.. rubric:: DEFAULT VALUE:
|
||||||
|
|
||||||
* It shall be less than or equal to 65535.
|
The default value is 0.
|
||||||
|
|
||||||
* It shall be less than or equal to a BSP-specific and application-specific
|
.. rubric:: DESCRIPTION:
|
||||||
value which depends on the size of the memory available to the
|
|
||||||
application.
|
|
||||||
|
|
||||||
* It may be defined through :c:func:`rtems_resource_unlimited` the enable
|
The value of this configuration option defines the maximum number of Classic
|
||||||
unlimited objects for the object class, if the value passed to
|
API Message Queues that can be concurrently active.
|
||||||
:c:func:`rtems_resource_unlimited` satisfies all other constraints of the
|
|
||||||
configuration option.
|
|
||||||
|
|
||||||
DESCRIPTION:
|
.. rubric:: NOTES:
|
||||||
The value of this configuration option defines the maximum number of Classic
|
|
||||||
API Message Queues that can be concurrently active.
|
|
||||||
|
|
||||||
NOTES:
|
This object class can be configured in unlimited allocation mode, see
|
||||||
This object class can be configured in unlimited allocation mode, see
|
:ref:`ConfigUnlimitedObjects`. You have to account for the memory used to
|
||||||
:ref:`ConfigUnlimitedObjects`. You have to account for the memory used to
|
store the messages of each message queue, see
|
||||||
store the messages of each message queue, see
|
:ref:`CONFIGURE_MESSAGE_BUFFER_MEMORY`.
|
||||||
:ref:`CONFIGURE_MESSAGE_BUFFER_MEMORY`.
|
|
||||||
|
.. rubric:: CONSTRAINTS:
|
||||||
|
|
||||||
|
The following constraints apply to this configuration option:
|
||||||
|
|
||||||
|
* The value of the configuration option shall be greater than or equal to zero.
|
||||||
|
|
||||||
|
* The value of the configuration option shall be less than or equal to 65535.
|
||||||
|
|
||||||
|
* The value of the configuration option shall be less than or equal to a
|
||||||
|
BSP-specific and application-specific value which depends on the size of the
|
||||||
|
memory available to the application.
|
||||||
|
|
||||||
|
* The value of the configuration option may be defined through
|
||||||
|
:c:func:`rtems_resource_unlimited` the enable unlimited objects for the
|
||||||
|
object class, if the value passed to :c:func:`rtems_resource_unlimited`
|
||||||
|
satisfies all other constraints of the configuration option.
|
||||||
|
|
||||||
.. Generated from spec:/acfg/if/max-partitions
|
.. Generated from spec:/acfg/if/max-partitions
|
||||||
|
|
||||||
|
.. raw:: latex
|
||||||
|
|
||||||
|
\clearpage
|
||||||
|
|
||||||
.. index:: CONFIGURE_MAXIMUM_PARTITIONS
|
.. index:: CONFIGURE_MAXIMUM_PARTITIONS
|
||||||
|
|
||||||
.. _CONFIGURE_MAXIMUM_PARTITIONS:
|
.. _CONFIGURE_MAXIMUM_PARTITIONS:
|
||||||
@ -122,42 +144,51 @@ NOTES:
|
|||||||
CONFIGURE_MAXIMUM_PARTITIONS
|
CONFIGURE_MAXIMUM_PARTITIONS
|
||||||
----------------------------
|
----------------------------
|
||||||
|
|
||||||
CONSTANT:
|
.. rubric:: CONSTANT:
|
||||||
``CONFIGURE_MAXIMUM_PARTITIONS``
|
|
||||||
|
|
||||||
OPTION TYPE:
|
``CONFIGURE_MAXIMUM_PARTITIONS``
|
||||||
This configuration option is an integer define.
|
|
||||||
|
|
||||||
DEFAULT VALUE:
|
.. rubric:: OPTION TYPE:
|
||||||
The default value is 0.
|
|
||||||
|
|
||||||
VALUE CONSTRAINTS:
|
This configuration option is an integer define.
|
||||||
The value of this configuration option shall satisfy all of the following
|
|
||||||
constraints:
|
|
||||||
|
|
||||||
* It shall be greater than or equal to zero.
|
.. rubric:: DEFAULT VALUE:
|
||||||
|
|
||||||
* It shall be less than or equal to 65535.
|
The default value is 0.
|
||||||
|
|
||||||
* It shall be less than or equal to a BSP-specific and application-specific
|
.. rubric:: DESCRIPTION:
|
||||||
value which depends on the size of the memory available to the
|
|
||||||
application.
|
|
||||||
|
|
||||||
* It may be defined through :c:func:`rtems_resource_unlimited` the enable
|
The value of this configuration option defines the maximum number of Classic
|
||||||
unlimited objects for the object class, if the value passed to
|
API Partitions that can be concurrently active.
|
||||||
:c:func:`rtems_resource_unlimited` satisfies all other constraints of the
|
|
||||||
configuration option.
|
|
||||||
|
|
||||||
DESCRIPTION:
|
.. rubric:: NOTES:
|
||||||
The value of this configuration option defines the maximum number of Classic
|
|
||||||
API Partitions that can be concurrently active.
|
|
||||||
|
|
||||||
NOTES:
|
This object class can be configured in unlimited allocation mode, see
|
||||||
This object class can be configured in unlimited allocation mode, see
|
:ref:`ConfigUnlimitedObjects`.
|
||||||
:ref:`ConfigUnlimitedObjects`.
|
|
||||||
|
.. rubric:: CONSTRAINTS:
|
||||||
|
|
||||||
|
The following constraints apply to this configuration option:
|
||||||
|
|
||||||
|
* The value of the configuration option shall be greater than or equal to zero.
|
||||||
|
|
||||||
|
* The value of the configuration option shall be less than or equal to 65535.
|
||||||
|
|
||||||
|
* The value of the configuration option shall be less than or equal to a
|
||||||
|
BSP-specific and application-specific value which depends on the size of the
|
||||||
|
memory available to the application.
|
||||||
|
|
||||||
|
* The value of the configuration option may be defined through
|
||||||
|
:c:func:`rtems_resource_unlimited` the enable unlimited objects for the
|
||||||
|
object class, if the value passed to :c:func:`rtems_resource_unlimited`
|
||||||
|
satisfies all other constraints of the configuration option.
|
||||||
|
|
||||||
.. Generated from spec:/acfg/if/max-periods
|
.. Generated from spec:/acfg/if/max-periods
|
||||||
|
|
||||||
|
.. raw:: latex
|
||||||
|
|
||||||
|
\clearpage
|
||||||
|
|
||||||
.. index:: CONFIGURE_MAXIMUM_PERIODS
|
.. index:: CONFIGURE_MAXIMUM_PERIODS
|
||||||
|
|
||||||
.. _CONFIGURE_MAXIMUM_PERIODS:
|
.. _CONFIGURE_MAXIMUM_PERIODS:
|
||||||
@ -165,42 +196,51 @@ NOTES:
|
|||||||
CONFIGURE_MAXIMUM_PERIODS
|
CONFIGURE_MAXIMUM_PERIODS
|
||||||
-------------------------
|
-------------------------
|
||||||
|
|
||||||
CONSTANT:
|
.. rubric:: CONSTANT:
|
||||||
``CONFIGURE_MAXIMUM_PERIODS``
|
|
||||||
|
|
||||||
OPTION TYPE:
|
``CONFIGURE_MAXIMUM_PERIODS``
|
||||||
This configuration option is an integer define.
|
|
||||||
|
|
||||||
DEFAULT VALUE:
|
.. rubric:: OPTION TYPE:
|
||||||
The default value is 0.
|
|
||||||
|
|
||||||
VALUE CONSTRAINTS:
|
This configuration option is an integer define.
|
||||||
The value of this configuration option shall satisfy all of the following
|
|
||||||
constraints:
|
|
||||||
|
|
||||||
* It shall be greater than or equal to zero.
|
.. rubric:: DEFAULT VALUE:
|
||||||
|
|
||||||
* It shall be less than or equal to 65535.
|
The default value is 0.
|
||||||
|
|
||||||
* It shall be less than or equal to a BSP-specific and application-specific
|
.. rubric:: DESCRIPTION:
|
||||||
value which depends on the size of the memory available to the
|
|
||||||
application.
|
|
||||||
|
|
||||||
* It may be defined through :c:func:`rtems_resource_unlimited` the enable
|
The value of this configuration option defines the maximum number of Classic
|
||||||
unlimited objects for the object class, if the value passed to
|
API Periods that can be concurrently active.
|
||||||
:c:func:`rtems_resource_unlimited` satisfies all other constraints of the
|
|
||||||
configuration option.
|
|
||||||
|
|
||||||
DESCRIPTION:
|
.. rubric:: NOTES:
|
||||||
The value of this configuration option defines the maximum number of Classic
|
|
||||||
API Periods that can be concurrently active.
|
|
||||||
|
|
||||||
NOTES:
|
This object class can be configured in unlimited allocation mode, see
|
||||||
This object class can be configured in unlimited allocation mode, see
|
:ref:`ConfigUnlimitedObjects`.
|
||||||
:ref:`ConfigUnlimitedObjects`.
|
|
||||||
|
.. rubric:: CONSTRAINTS:
|
||||||
|
|
||||||
|
The following constraints apply to this configuration option:
|
||||||
|
|
||||||
|
* The value of the configuration option shall be greater than or equal to zero.
|
||||||
|
|
||||||
|
* The value of the configuration option shall be less than or equal to 65535.
|
||||||
|
|
||||||
|
* The value of the configuration option shall be less than or equal to a
|
||||||
|
BSP-specific and application-specific value which depends on the size of the
|
||||||
|
memory available to the application.
|
||||||
|
|
||||||
|
* The value of the configuration option may be defined through
|
||||||
|
:c:func:`rtems_resource_unlimited` the enable unlimited objects for the
|
||||||
|
object class, if the value passed to :c:func:`rtems_resource_unlimited`
|
||||||
|
satisfies all other constraints of the configuration option.
|
||||||
|
|
||||||
.. Generated from spec:/acfg/if/max-ports
|
.. Generated from spec:/acfg/if/max-ports
|
||||||
|
|
||||||
|
.. raw:: latex
|
||||||
|
|
||||||
|
\clearpage
|
||||||
|
|
||||||
.. index:: CONFIGURE_MAXIMUM_PORTS
|
.. index:: CONFIGURE_MAXIMUM_PORTS
|
||||||
|
|
||||||
.. _CONFIGURE_MAXIMUM_PORTS:
|
.. _CONFIGURE_MAXIMUM_PORTS:
|
||||||
@ -208,42 +248,51 @@ NOTES:
|
|||||||
CONFIGURE_MAXIMUM_PORTS
|
CONFIGURE_MAXIMUM_PORTS
|
||||||
-----------------------
|
-----------------------
|
||||||
|
|
||||||
CONSTANT:
|
.. rubric:: CONSTANT:
|
||||||
``CONFIGURE_MAXIMUM_PORTS``
|
|
||||||
|
|
||||||
OPTION TYPE:
|
``CONFIGURE_MAXIMUM_PORTS``
|
||||||
This configuration option is an integer define.
|
|
||||||
|
|
||||||
DEFAULT VALUE:
|
.. rubric:: OPTION TYPE:
|
||||||
The default value is 0.
|
|
||||||
|
|
||||||
VALUE CONSTRAINTS:
|
This configuration option is an integer define.
|
||||||
The value of this configuration option shall satisfy all of the following
|
|
||||||
constraints:
|
|
||||||
|
|
||||||
* It shall be greater than or equal to zero.
|
.. rubric:: DEFAULT VALUE:
|
||||||
|
|
||||||
* It shall be less than or equal to 65535.
|
The default value is 0.
|
||||||
|
|
||||||
* It shall be less than or equal to a BSP-specific and application-specific
|
.. rubric:: DESCRIPTION:
|
||||||
value which depends on the size of the memory available to the
|
|
||||||
application.
|
|
||||||
|
|
||||||
* It may be defined through :c:func:`rtems_resource_unlimited` the enable
|
The value of this configuration option defines the maximum number of Classic
|
||||||
unlimited objects for the object class, if the value passed to
|
API Ports that can be concurrently active.
|
||||||
:c:func:`rtems_resource_unlimited` satisfies all other constraints of the
|
|
||||||
configuration option.
|
|
||||||
|
|
||||||
DESCRIPTION:
|
.. rubric:: NOTES:
|
||||||
The value of this configuration option defines the maximum number of Classic
|
|
||||||
API Ports that can be concurrently active.
|
|
||||||
|
|
||||||
NOTES:
|
This object class can be configured in unlimited allocation mode, see
|
||||||
This object class can be configured in unlimited allocation mode, see
|
:ref:`ConfigUnlimitedObjects`.
|
||||||
:ref:`ConfigUnlimitedObjects`.
|
|
||||||
|
.. rubric:: CONSTRAINTS:
|
||||||
|
|
||||||
|
The following constraints apply to this configuration option:
|
||||||
|
|
||||||
|
* The value of the configuration option shall be greater than or equal to zero.
|
||||||
|
|
||||||
|
* The value of the configuration option shall be less than or equal to 65535.
|
||||||
|
|
||||||
|
* The value of the configuration option shall be less than or equal to a
|
||||||
|
BSP-specific and application-specific value which depends on the size of the
|
||||||
|
memory available to the application.
|
||||||
|
|
||||||
|
* The value of the configuration option may be defined through
|
||||||
|
:c:func:`rtems_resource_unlimited` the enable unlimited objects for the
|
||||||
|
object class, if the value passed to :c:func:`rtems_resource_unlimited`
|
||||||
|
satisfies all other constraints of the configuration option.
|
||||||
|
|
||||||
.. Generated from spec:/acfg/if/max-regions
|
.. Generated from spec:/acfg/if/max-regions
|
||||||
|
|
||||||
|
.. raw:: latex
|
||||||
|
|
||||||
|
\clearpage
|
||||||
|
|
||||||
.. index:: CONFIGURE_MAXIMUM_REGIONS
|
.. index:: CONFIGURE_MAXIMUM_REGIONS
|
||||||
|
|
||||||
.. _CONFIGURE_MAXIMUM_REGIONS:
|
.. _CONFIGURE_MAXIMUM_REGIONS:
|
||||||
@ -251,42 +300,51 @@ NOTES:
|
|||||||
CONFIGURE_MAXIMUM_REGIONS
|
CONFIGURE_MAXIMUM_REGIONS
|
||||||
-------------------------
|
-------------------------
|
||||||
|
|
||||||
CONSTANT:
|
.. rubric:: CONSTANT:
|
||||||
``CONFIGURE_MAXIMUM_REGIONS``
|
|
||||||
|
|
||||||
OPTION TYPE:
|
``CONFIGURE_MAXIMUM_REGIONS``
|
||||||
This configuration option is an integer define.
|
|
||||||
|
|
||||||
DEFAULT VALUE:
|
.. rubric:: OPTION TYPE:
|
||||||
The default value is 0.
|
|
||||||
|
|
||||||
VALUE CONSTRAINTS:
|
This configuration option is an integer define.
|
||||||
The value of this configuration option shall satisfy all of the following
|
|
||||||
constraints:
|
|
||||||
|
|
||||||
* It shall be greater than or equal to zero.
|
.. rubric:: DEFAULT VALUE:
|
||||||
|
|
||||||
* It shall be less than or equal to 65535.
|
The default value is 0.
|
||||||
|
|
||||||
* It shall be less than or equal to a BSP-specific and application-specific
|
.. rubric:: DESCRIPTION:
|
||||||
value which depends on the size of the memory available to the
|
|
||||||
application.
|
|
||||||
|
|
||||||
* It may be defined through :c:func:`rtems_resource_unlimited` the enable
|
The value of this configuration option defines the maximum number of Classic
|
||||||
unlimited objects for the object class, if the value passed to
|
API Regions that can be concurrently active.
|
||||||
:c:func:`rtems_resource_unlimited` satisfies all other constraints of the
|
|
||||||
configuration option.
|
|
||||||
|
|
||||||
DESCRIPTION:
|
.. rubric:: NOTES:
|
||||||
The value of this configuration option defines the maximum number of Classic
|
|
||||||
API Regions that can be concurrently active.
|
|
||||||
|
|
||||||
NOTES:
|
This object class can be configured in unlimited allocation mode, see
|
||||||
This object class can be configured in unlimited allocation mode, see
|
:ref:`ConfigUnlimitedObjects`.
|
||||||
:ref:`ConfigUnlimitedObjects`.
|
|
||||||
|
.. rubric:: CONSTRAINTS:
|
||||||
|
|
||||||
|
The following constraints apply to this configuration option:
|
||||||
|
|
||||||
|
* The value of the configuration option shall be greater than or equal to zero.
|
||||||
|
|
||||||
|
* The value of the configuration option shall be less than or equal to 65535.
|
||||||
|
|
||||||
|
* The value of the configuration option shall be less than or equal to a
|
||||||
|
BSP-specific and application-specific value which depends on the size of the
|
||||||
|
memory available to the application.
|
||||||
|
|
||||||
|
* The value of the configuration option may be defined through
|
||||||
|
:c:func:`rtems_resource_unlimited` the enable unlimited objects for the
|
||||||
|
object class, if the value passed to :c:func:`rtems_resource_unlimited`
|
||||||
|
satisfies all other constraints of the configuration option.
|
||||||
|
|
||||||
.. Generated from spec:/acfg/if/max-semaphores
|
.. Generated from spec:/acfg/if/max-semaphores
|
||||||
|
|
||||||
|
.. raw:: latex
|
||||||
|
|
||||||
|
\clearpage
|
||||||
|
|
||||||
.. index:: CONFIGURE_MAXIMUM_SEMAPHORES
|
.. index:: CONFIGURE_MAXIMUM_SEMAPHORES
|
||||||
|
|
||||||
.. _CONFIGURE_MAXIMUM_SEMAPHORES:
|
.. _CONFIGURE_MAXIMUM_SEMAPHORES:
|
||||||
@ -294,46 +352,55 @@ NOTES:
|
|||||||
CONFIGURE_MAXIMUM_SEMAPHORES
|
CONFIGURE_MAXIMUM_SEMAPHORES
|
||||||
----------------------------
|
----------------------------
|
||||||
|
|
||||||
CONSTANT:
|
.. rubric:: CONSTANT:
|
||||||
``CONFIGURE_MAXIMUM_SEMAPHORES``
|
|
||||||
|
|
||||||
OPTION TYPE:
|
``CONFIGURE_MAXIMUM_SEMAPHORES``
|
||||||
This configuration option is an integer define.
|
|
||||||
|
|
||||||
DEFAULT VALUE:
|
.. rubric:: OPTION TYPE:
|
||||||
The default value is 0.
|
|
||||||
|
|
||||||
VALUE CONSTRAINTS:
|
This configuration option is an integer define.
|
||||||
The value of this configuration option shall satisfy all of the following
|
|
||||||
constraints:
|
|
||||||
|
|
||||||
* It shall be greater than or equal to zero.
|
.. rubric:: DEFAULT VALUE:
|
||||||
|
|
||||||
* It shall be less than or equal to 65535.
|
The default value is 0.
|
||||||
|
|
||||||
* It shall be less than or equal to a BSP-specific and application-specific
|
.. rubric:: DESCRIPTION:
|
||||||
value which depends on the size of the memory available to the
|
|
||||||
application.
|
|
||||||
|
|
||||||
* It may be defined through :c:func:`rtems_resource_unlimited` the enable
|
The value of this configuration option defines the maximum number of Classic
|
||||||
unlimited objects for the object class, if the value passed to
|
API Semaphore that can be concurrently active.
|
||||||
:c:func:`rtems_resource_unlimited` satisfies all other constraints of the
|
|
||||||
configuration option.
|
|
||||||
|
|
||||||
DESCRIPTION:
|
.. rubric:: NOTES:
|
||||||
The value of this configuration option defines the maximum number of Classic
|
|
||||||
API Semaphore that can be concurrently active.
|
|
||||||
|
|
||||||
NOTES:
|
This object class can be configured in unlimited allocation mode, see
|
||||||
This object class can be configured in unlimited allocation mode, see
|
:ref:`ConfigUnlimitedObjects`.
|
||||||
:ref:`ConfigUnlimitedObjects`.
|
|
||||||
|
|
||||||
In SMP configurations, the size of a Semaphore Control Block depends on the
|
In SMP configurations, the size of a Semaphore Control Block depends on the
|
||||||
scheduler count (see :ref:`ConfigurationSchedulerTable`). The semaphores
|
scheduler count (see :ref:`ConfigurationSchedulerTable`). The semaphores
|
||||||
using the :ref:`MrsP` need a ceiling priority per scheduler.
|
using the :ref:`MrsP` need a ceiling priority per scheduler.
|
||||||
|
|
||||||
|
.. rubric:: CONSTRAINTS:
|
||||||
|
|
||||||
|
The following constraints apply to this configuration option:
|
||||||
|
|
||||||
|
* The value of the configuration option shall be greater than or equal to zero.
|
||||||
|
|
||||||
|
* The value of the configuration option shall be less than or equal to 65535.
|
||||||
|
|
||||||
|
* The value of the configuration option shall be less than or equal to a
|
||||||
|
BSP-specific and application-specific value which depends on the size of the
|
||||||
|
memory available to the application.
|
||||||
|
|
||||||
|
* The value of the configuration option may be defined through
|
||||||
|
:c:func:`rtems_resource_unlimited` the enable unlimited objects for the
|
||||||
|
object class, if the value passed to :c:func:`rtems_resource_unlimited`
|
||||||
|
satisfies all other constraints of the configuration option.
|
||||||
|
|
||||||
.. Generated from spec:/acfg/if/max-tasks
|
.. Generated from spec:/acfg/if/max-tasks
|
||||||
|
|
||||||
|
.. raw:: latex
|
||||||
|
|
||||||
|
\clearpage
|
||||||
|
|
||||||
.. index:: CONFIGURE_MAXIMUM_TASKS
|
.. index:: CONFIGURE_MAXIMUM_TASKS
|
||||||
|
|
||||||
.. _CONFIGURE_MAXIMUM_TASKS:
|
.. _CONFIGURE_MAXIMUM_TASKS:
|
||||||
@ -341,59 +408,69 @@ NOTES:
|
|||||||
CONFIGURE_MAXIMUM_TASKS
|
CONFIGURE_MAXIMUM_TASKS
|
||||||
-----------------------
|
-----------------------
|
||||||
|
|
||||||
CONSTANT:
|
.. rubric:: CONSTANT:
|
||||||
``CONFIGURE_MAXIMUM_TASKS``
|
|
||||||
|
|
||||||
OPTION TYPE:
|
``CONFIGURE_MAXIMUM_TASKS``
|
||||||
This configuration option is an integer define.
|
|
||||||
|
|
||||||
DEFAULT VALUE:
|
.. rubric:: OPTION TYPE:
|
||||||
The default value is 0.
|
|
||||||
|
|
||||||
VALUE CONSTRAINTS:
|
This configuration option is an integer define.
|
||||||
The value of this configuration option shall satisfy all of the following
|
|
||||||
constraints:
|
|
||||||
|
|
||||||
* It shall be greater than or equal to zero.
|
.. rubric:: DEFAULT VALUE:
|
||||||
|
|
||||||
* It shall be less than or equal to 65535.
|
The default value is 0.
|
||||||
|
|
||||||
* It shall be less than or equal to a BSP-specific and application-specific
|
.. rubric:: DESCRIPTION:
|
||||||
value which depends on the size of the memory available to the
|
|
||||||
application.
|
|
||||||
|
|
||||||
* It shall be small enough so that the task stack space calculation carried
|
The value of this configuration option defines the maximum number of Classic
|
||||||
out by ``<rtems/confdefs.h>`` does not overflow an integer of type
|
API Tasks that can be concurrently active.
|
||||||
`uintptr_t <https://en.cppreference.com/w/c/types/integer>`_.
|
|
||||||
|
|
||||||
* It may be defined through :c:func:`rtems_resource_unlimited` the enable
|
.. rubric:: NOTES:
|
||||||
unlimited objects for the object class, if the value passed to
|
|
||||||
:c:func:`rtems_resource_unlimited` satisfies all other constraints of the
|
|
||||||
configuration option.
|
|
||||||
|
|
||||||
DESCRIPTION:
|
This object class can be configured in unlimited allocation mode, see
|
||||||
The value of this configuration option defines the maximum number of Classic
|
:ref:`ConfigUnlimitedObjects`.
|
||||||
API Tasks that can be concurrently active.
|
|
||||||
|
|
||||||
NOTES:
|
The calculations for the required memory in the RTEMS Workspace for tasks
|
||||||
This object class can be configured in unlimited allocation mode, see
|
assume that each task has a minimum stack size and has floating point
|
||||||
:ref:`ConfigUnlimitedObjects`.
|
support enabled. The configuration option :ref:`CONFIGURE_EXTRA_TASK_STACKS` is used
|
||||||
|
to specify task stack requirements *above* the minimum size required.
|
||||||
|
|
||||||
The calculations for the required memory in the RTEMS Workspace for tasks
|
The maximum number of POSIX threads is specified by
|
||||||
assume that each task has a minimum stack size and has floating point
|
:ref:`CONFIGURE_MAXIMUM_POSIX_THREADS`.
|
||||||
support enabled. The configuration option :ref:`CONFIGURE_EXTRA_TASK_STACKS` is used
|
|
||||||
to specify task stack requirements *above* the minimum size required.
|
|
||||||
|
|
||||||
The maximum number of POSIX threads is specified by
|
A future enhancement to ``<rtems/confdefs.h>`` could be to eliminate the
|
||||||
:ref:`CONFIGURE_MAXIMUM_POSIX_THREADS`.
|
assumption that all tasks have floating point enabled. This would require
|
||||||
|
the addition of a new configuration parameter to specify the number of
|
||||||
|
tasks which enable floating point support.
|
||||||
|
|
||||||
A future enhancement to ``<rtems/confdefs.h>`` could be to eliminate the
|
.. rubric:: CONSTRAINTS:
|
||||||
assumption that all tasks have floating point enabled. This would require
|
|
||||||
the addition of a new configuration parameter to specify the number of
|
The following constraints apply to this configuration option:
|
||||||
tasks which enable floating point support.
|
|
||||||
|
* The value of the configuration option shall be greater than or equal to zero.
|
||||||
|
|
||||||
|
* The value of the configuration option shall be less than or equal to 65535.
|
||||||
|
|
||||||
|
* The value of the configuration option shall be less than or equal to a
|
||||||
|
BSP-specific and application-specific value which depends on the size of the
|
||||||
|
memory available to the application.
|
||||||
|
|
||||||
|
* The value of the configuration option shall be small enough so that the task
|
||||||
|
stack space calculation carried out by ``<rtems/confdefs.h>`` does not
|
||||||
|
overflow an integer of type `uintptr_t
|
||||||
|
<https://en.cppreference.com/w/c/types/integer>`_.
|
||||||
|
|
||||||
|
* The value of the configuration option may be defined through
|
||||||
|
:c:func:`rtems_resource_unlimited` the enable unlimited objects for the
|
||||||
|
object class, if the value passed to :c:func:`rtems_resource_unlimited`
|
||||||
|
satisfies all other constraints of the configuration option.
|
||||||
|
|
||||||
.. Generated from spec:/acfg/if/max-thread-local-storage-size
|
.. Generated from spec:/acfg/if/max-thread-local-storage-size
|
||||||
|
|
||||||
|
.. raw:: latex
|
||||||
|
|
||||||
|
\clearpage
|
||||||
|
|
||||||
.. index:: CONFIGURE_MAXIMUM_THREAD_LOCAL_STORAGE_SIZE
|
.. index:: CONFIGURE_MAXIMUM_THREAD_LOCAL_STORAGE_SIZE
|
||||||
|
|
||||||
.. _CONFIGURE_MAXIMUM_THREAD_LOCAL_STORAGE_SIZE:
|
.. _CONFIGURE_MAXIMUM_THREAD_LOCAL_STORAGE_SIZE:
|
||||||
@ -401,53 +478,62 @@ NOTES:
|
|||||||
CONFIGURE_MAXIMUM_THREAD_LOCAL_STORAGE_SIZE
|
CONFIGURE_MAXIMUM_THREAD_LOCAL_STORAGE_SIZE
|
||||||
-------------------------------------------
|
-------------------------------------------
|
||||||
|
|
||||||
CONSTANT:
|
.. rubric:: CONSTANT:
|
||||||
``CONFIGURE_MAXIMUM_THREAD_LOCAL_STORAGE_SIZE``
|
|
||||||
|
|
||||||
OPTION TYPE:
|
``CONFIGURE_MAXIMUM_THREAD_LOCAL_STORAGE_SIZE``
|
||||||
This configuration option is an integer define.
|
|
||||||
|
|
||||||
DEFAULT VALUE:
|
.. rubric:: OPTION TYPE:
|
||||||
The default value is 0.
|
|
||||||
|
|
||||||
VALUE CONSTRAINTS:
|
This configuration option is an integer define.
|
||||||
The value of this configuration option shall satisfy all of the following
|
|
||||||
constraints:
|
|
||||||
|
|
||||||
* It shall be greater than or equal to zero.
|
.. rubric:: DEFAULT VALUE:
|
||||||
|
|
||||||
* It shall be less than or equal to `SIZE_MAX
|
The default value is 0.
|
||||||
<https://en.cppreference.com/w/c/types/limits>`_.
|
|
||||||
|
|
||||||
* It shall be an integral multiple of
|
.. rubric:: DESCRIPTION:
|
||||||
|
|
||||||
|
If the value of this configuration option is greater than zero, then it
|
||||||
|
defines the maximum thread-local storage size, otherwise the thread-local
|
||||||
|
storage size is defined by the linker depending on the thread-local storage
|
||||||
|
objects used by the application in the statically-linked executable.
|
||||||
|
|
||||||
|
.. rubric:: NOTES:
|
||||||
|
|
||||||
|
This configuration option can be used to reserve space for the dynamic linking
|
||||||
|
of modules with thread-local storage objects.
|
||||||
|
|
||||||
|
If the thread-local storage size defined by the thread-local storage
|
||||||
|
objects used by the application in the statically-linked executable is greater
|
||||||
|
than a non-zero value of this configuration option, then a fatal error will
|
||||||
|
occur during system initialization.
|
||||||
|
|
||||||
|
Use :c:func:`RTEMS_ALIGN_UP` and
|
||||||
|
:c:macro:`RTEMS_TASK_STORAGE_ALIGNMENT` to adjust the size to meet the
|
||||||
|
minimum alignment requirement of a thread-local storage area.
|
||||||
|
|
||||||
|
The actual thread-local storage size is determined when the application
|
||||||
|
executable is linked. The ``rtems-exeinfo`` command line tool included in
|
||||||
|
the RTEMS Tools can be used to obtain the thread-local storage size and
|
||||||
|
alignment of an application executable.
|
||||||
|
|
||||||
|
.. rubric:: CONSTRAINTS:
|
||||||
|
|
||||||
|
The following constraints apply to this configuration option:
|
||||||
|
|
||||||
|
* The value of the configuration option shall be greater than or equal to zero.
|
||||||
|
|
||||||
|
* The value of the configuration option shall be less than or equal to
|
||||||
|
`SIZE_MAX <https://en.cppreference.com/w/c/types/limits>`_.
|
||||||
|
|
||||||
|
* The value of the configuration option shall be an integral multiple of
|
||||||
:c:macro:`RTEMS_TASK_STORAGE_ALIGNMENT`.
|
:c:macro:`RTEMS_TASK_STORAGE_ALIGNMENT`.
|
||||||
|
|
||||||
DESCRIPTION:
|
|
||||||
If the value of this configuration option is greater than zero, then it
|
|
||||||
defines the maximum thread-local storage size, otherwise the thread-local
|
|
||||||
storage size is defined by the linker depending on the thread-local storage
|
|
||||||
objects used by the application in the statically-linked executable.
|
|
||||||
|
|
||||||
NOTES:
|
|
||||||
This configuration option can be used to reserve space for the dynamic linking
|
|
||||||
of modules with thread-local storage objects.
|
|
||||||
|
|
||||||
If the thread-local storage size defined by the thread-local storage
|
|
||||||
objects used by the application in the statically-linked executable is greater
|
|
||||||
than a non-zero value of this configuration option, then a fatal error will
|
|
||||||
occur during system initialization.
|
|
||||||
|
|
||||||
Use :c:func:`RTEMS_ALIGN_UP` and
|
|
||||||
:c:macro:`RTEMS_TASK_STORAGE_ALIGNMENT` to adjust the size to meet the
|
|
||||||
minimum alignment requirement of a thread-local storage area.
|
|
||||||
|
|
||||||
The actual thread-local storage size is determined when the application
|
|
||||||
executable is linked. The ``rtems-exeinfo`` command line tool included in
|
|
||||||
the RTEMS Tools can be used to obtain the thread-local storage size and
|
|
||||||
alignment of an application executable.
|
|
||||||
|
|
||||||
.. Generated from spec:/acfg/if/max-timers
|
.. Generated from spec:/acfg/if/max-timers
|
||||||
|
|
||||||
|
.. raw:: latex
|
||||||
|
|
||||||
|
\clearpage
|
||||||
|
|
||||||
.. index:: CONFIGURE_MAXIMUM_TIMERS
|
.. index:: CONFIGURE_MAXIMUM_TIMERS
|
||||||
|
|
||||||
.. _CONFIGURE_MAXIMUM_TIMERS:
|
.. _CONFIGURE_MAXIMUM_TIMERS:
|
||||||
@ -455,42 +541,51 @@ NOTES:
|
|||||||
CONFIGURE_MAXIMUM_TIMERS
|
CONFIGURE_MAXIMUM_TIMERS
|
||||||
------------------------
|
------------------------
|
||||||
|
|
||||||
CONSTANT:
|
.. rubric:: CONSTANT:
|
||||||
``CONFIGURE_MAXIMUM_TIMERS``
|
|
||||||
|
|
||||||
OPTION TYPE:
|
``CONFIGURE_MAXIMUM_TIMERS``
|
||||||
This configuration option is an integer define.
|
|
||||||
|
|
||||||
DEFAULT VALUE:
|
.. rubric:: OPTION TYPE:
|
||||||
The default value is 0.
|
|
||||||
|
|
||||||
VALUE CONSTRAINTS:
|
This configuration option is an integer define.
|
||||||
The value of this configuration option shall satisfy all of the following
|
|
||||||
constraints:
|
|
||||||
|
|
||||||
* It shall be greater than or equal to zero.
|
.. rubric:: DEFAULT VALUE:
|
||||||
|
|
||||||
* It shall be less than or equal to 65535.
|
The default value is 0.
|
||||||
|
|
||||||
* It shall be less than or equal to a BSP-specific and application-specific
|
.. rubric:: DESCRIPTION:
|
||||||
value which depends on the size of the memory available to the
|
|
||||||
application.
|
|
||||||
|
|
||||||
* It may be defined through :c:func:`rtems_resource_unlimited` the enable
|
The value of this configuration option defines the maximum number of Classic
|
||||||
unlimited objects for the object class, if the value passed to
|
API Timers that can be concurrently active.
|
||||||
:c:func:`rtems_resource_unlimited` satisfies all other constraints of the
|
|
||||||
configuration option.
|
|
||||||
|
|
||||||
DESCRIPTION:
|
.. rubric:: NOTES:
|
||||||
The value of this configuration option defines the maximum number of Classic
|
|
||||||
API Timers that can be concurrently active.
|
|
||||||
|
|
||||||
NOTES:
|
This object class can be configured in unlimited allocation mode, see
|
||||||
This object class can be configured in unlimited allocation mode, see
|
:ref:`ConfigUnlimitedObjects`.
|
||||||
:ref:`ConfigUnlimitedObjects`.
|
|
||||||
|
.. rubric:: CONSTRAINTS:
|
||||||
|
|
||||||
|
The following constraints apply to this configuration option:
|
||||||
|
|
||||||
|
* The value of the configuration option shall be greater than or equal to zero.
|
||||||
|
|
||||||
|
* The value of the configuration option shall be less than or equal to 65535.
|
||||||
|
|
||||||
|
* The value of the configuration option shall be less than or equal to a
|
||||||
|
BSP-specific and application-specific value which depends on the size of the
|
||||||
|
memory available to the application.
|
||||||
|
|
||||||
|
* The value of the configuration option may be defined through
|
||||||
|
:c:func:`rtems_resource_unlimited` the enable unlimited objects for the
|
||||||
|
object class, if the value passed to :c:func:`rtems_resource_unlimited`
|
||||||
|
satisfies all other constraints of the configuration option.
|
||||||
|
|
||||||
.. Generated from spec:/acfg/if/max-user-extensions
|
.. Generated from spec:/acfg/if/max-user-extensions
|
||||||
|
|
||||||
|
.. raw:: latex
|
||||||
|
|
||||||
|
\clearpage
|
||||||
|
|
||||||
.. index:: CONFIGURE_MAXIMUM_USER_EXTENSIONS
|
.. index:: CONFIGURE_MAXIMUM_USER_EXTENSIONS
|
||||||
|
|
||||||
.. _CONFIGURE_MAXIMUM_USER_EXTENSIONS:
|
.. _CONFIGURE_MAXIMUM_USER_EXTENSIONS:
|
||||||
@ -498,36 +593,45 @@ NOTES:
|
|||||||
CONFIGURE_MAXIMUM_USER_EXTENSIONS
|
CONFIGURE_MAXIMUM_USER_EXTENSIONS
|
||||||
---------------------------------
|
---------------------------------
|
||||||
|
|
||||||
CONSTANT:
|
.. rubric:: CONSTANT:
|
||||||
``CONFIGURE_MAXIMUM_USER_EXTENSIONS``
|
|
||||||
|
|
||||||
OPTION TYPE:
|
``CONFIGURE_MAXIMUM_USER_EXTENSIONS``
|
||||||
This configuration option is an integer define.
|
|
||||||
|
|
||||||
DEFAULT VALUE:
|
.. rubric:: OPTION TYPE:
|
||||||
The default value is 0.
|
|
||||||
|
|
||||||
VALUE CONSTRAINTS:
|
This configuration option is an integer define.
|
||||||
The value of this configuration option shall satisfy all of the following
|
|
||||||
constraints:
|
|
||||||
|
|
||||||
* It shall be greater than or equal to zero.
|
.. rubric:: DEFAULT VALUE:
|
||||||
|
|
||||||
* It shall be less than or equal to 65535.
|
The default value is 0.
|
||||||
|
|
||||||
* It shall be less than or equal to a BSP-specific and application-specific
|
.. rubric:: DESCRIPTION:
|
||||||
value which depends on the size of the memory available to the
|
|
||||||
application.
|
|
||||||
|
|
||||||
DESCRIPTION:
|
The value of this configuration option defines the maximum number of Classic
|
||||||
The value of this configuration option defines the maximum number of Classic
|
API User Extensions that can be concurrently active.
|
||||||
API User Extensions that can be concurrently active.
|
|
||||||
|
|
||||||
NOTES:
|
.. rubric:: NOTES:
|
||||||
This object class cannot be configured in unlimited allocation mode.
|
|
||||||
|
This object class cannot be configured in unlimited allocation mode.
|
||||||
|
|
||||||
|
.. rubric:: CONSTRAINTS:
|
||||||
|
|
||||||
|
The following constraints apply to this configuration option:
|
||||||
|
|
||||||
|
* The value of the configuration option shall be greater than or equal to zero.
|
||||||
|
|
||||||
|
* The value of the configuration option shall be less than or equal to 65535.
|
||||||
|
|
||||||
|
* The value of the configuration option shall be less than or equal to a
|
||||||
|
BSP-specific and application-specific value which depends on the size of the
|
||||||
|
memory available to the application.
|
||||||
|
|
||||||
.. Generated from spec:/acfg/if/min-tasks-with-user-provided-storage
|
.. Generated from spec:/acfg/if/min-tasks-with-user-provided-storage
|
||||||
|
|
||||||
|
.. raw:: latex
|
||||||
|
|
||||||
|
\clearpage
|
||||||
|
|
||||||
.. index:: CONFIGURE_MINIMUM_TASKS_WITH_USER_PROVIDED_STORAGE
|
.. index:: CONFIGURE_MINIMUM_TASKS_WITH_USER_PROVIDED_STORAGE
|
||||||
|
|
||||||
.. _CONFIGURE_MINIMUM_TASKS_WITH_USER_PROVIDED_STORAGE:
|
.. _CONFIGURE_MINIMUM_TASKS_WITH_USER_PROVIDED_STORAGE:
|
||||||
@ -535,31 +639,37 @@ NOTES:
|
|||||||
CONFIGURE_MINIMUM_TASKS_WITH_USER_PROVIDED_STORAGE
|
CONFIGURE_MINIMUM_TASKS_WITH_USER_PROVIDED_STORAGE
|
||||||
--------------------------------------------------
|
--------------------------------------------------
|
||||||
|
|
||||||
CONSTANT:
|
.. rubric:: CONSTANT:
|
||||||
``CONFIGURE_MINIMUM_TASKS_WITH_USER_PROVIDED_STORAGE``
|
|
||||||
|
|
||||||
OPTION TYPE:
|
``CONFIGURE_MINIMUM_TASKS_WITH_USER_PROVIDED_STORAGE``
|
||||||
This configuration option is an integer define.
|
|
||||||
|
|
||||||
DEFAULT VALUE:
|
.. rubric:: OPTION TYPE:
|
||||||
The default value is 0.
|
|
||||||
|
|
||||||
VALUE CONSTRAINTS:
|
This configuration option is an integer define.
|
||||||
The value of this configuration option shall satisfy all of the following
|
|
||||||
constraints:
|
|
||||||
|
|
||||||
* It shall be greater than or equal to zero.
|
.. rubric:: DEFAULT VALUE:
|
||||||
|
|
||||||
* It shall be less than or equal to :ref:`CONFIGURE_MAXIMUM_TASKS`.
|
The default value is 0.
|
||||||
|
|
||||||
DESCRIPTION:
|
.. rubric:: DESCRIPTION:
|
||||||
The value of this configuration option defines the minimum count of Classic
|
|
||||||
API Tasks which are constructed by :c:func:`rtems_task_construct`.
|
|
||||||
|
|
||||||
NOTES:
|
The value of this configuration option defines the minimum count of Classic
|
||||||
By default, the calculation for the required memory in the RTEMS Workspace
|
API Tasks which are constructed by :c:func:`rtems_task_construct`.
|
||||||
for tasks assumes that all Classic API Tasks are created by
|
|
||||||
:c:func:`rtems_task_create`. This configuration option can be used to
|
.. rubric:: NOTES:
|
||||||
reduce the required memory for the system-provided task storage areas since
|
|
||||||
tasks constructed by :c:func:`rtems_task_construct` use a user-provided
|
By default, the calculation for the required memory in the RTEMS Workspace
|
||||||
task storage area.
|
for tasks assumes that all Classic API Tasks are created by
|
||||||
|
:c:func:`rtems_task_create`. This configuration option can be used to
|
||||||
|
reduce the required memory for the system-provided task storage areas since
|
||||||
|
tasks constructed by :c:func:`rtems_task_construct` use a user-provided
|
||||||
|
task storage area.
|
||||||
|
|
||||||
|
.. rubric:: CONSTRAINTS:
|
||||||
|
|
||||||
|
The following constraints apply to this configuration option:
|
||||||
|
|
||||||
|
* The value of the configuration option shall be greater than or equal to zero.
|
||||||
|
|
||||||
|
* The value of the configuration option shall be less than or equal to
|
||||||
|
:ref:`CONFIGURE_MAXIMUM_TASKS`.
|
||||||
|
@ -28,6 +28,10 @@ initialization task.
|
|||||||
|
|
||||||
.. Generated from spec:/acfg/if/init-task-arguments
|
.. Generated from spec:/acfg/if/init-task-arguments
|
||||||
|
|
||||||
|
.. raw:: latex
|
||||||
|
|
||||||
|
\clearpage
|
||||||
|
|
||||||
.. index:: CONFIGURE_INIT_TASK_ARGUMENTS
|
.. index:: CONFIGURE_INIT_TASK_ARGUMENTS
|
||||||
|
|
||||||
.. _CONFIGURE_INIT_TASK_ARGUMENTS:
|
.. _CONFIGURE_INIT_TASK_ARGUMENTS:
|
||||||
@ -35,28 +39,34 @@ initialization task.
|
|||||||
CONFIGURE_INIT_TASK_ARGUMENTS
|
CONFIGURE_INIT_TASK_ARGUMENTS
|
||||||
-----------------------------
|
-----------------------------
|
||||||
|
|
||||||
CONSTANT:
|
.. rubric:: CONSTANT:
|
||||||
``CONFIGURE_INIT_TASK_ARGUMENTS``
|
|
||||||
|
|
||||||
OPTION TYPE:
|
``CONFIGURE_INIT_TASK_ARGUMENTS``
|
||||||
This configuration option is an integer define.
|
|
||||||
|
|
||||||
DEFAULT VALUE:
|
.. rubric:: OPTION TYPE:
|
||||||
The default value is 0.
|
|
||||||
|
|
||||||
VALUE CONSTRAINTS:
|
This configuration option is an integer define.
|
||||||
The value of this configuration option shall be convertible to an integer
|
|
||||||
of type :c:type:`rtems_task_argument`.
|
|
||||||
|
|
||||||
DESCRIPTION:
|
.. rubric:: DEFAULT VALUE:
|
||||||
The value of this configuration option defines task argument of the Classic
|
|
||||||
API initialization task.
|
|
||||||
|
|
||||||
NOTES:
|
The default value is 0.
|
||||||
None.
|
|
||||||
|
.. rubric:: DESCRIPTION:
|
||||||
|
|
||||||
|
The value of this configuration option defines task argument of the Classic
|
||||||
|
API initialization task.
|
||||||
|
|
||||||
|
.. rubric:: CONSTRAINTS:
|
||||||
|
|
||||||
|
The value of the configuration option shall be convertible to an integer of
|
||||||
|
type :c:type:`rtems_task_argument`.
|
||||||
|
|
||||||
.. Generated from spec:/acfg/if/init-task-attributes
|
.. Generated from spec:/acfg/if/init-task-attributes
|
||||||
|
|
||||||
|
.. raw:: latex
|
||||||
|
|
||||||
|
\clearpage
|
||||||
|
|
||||||
.. index:: CONFIGURE_INIT_TASK_ATTRIBUTES
|
.. index:: CONFIGURE_INIT_TASK_ATTRIBUTES
|
||||||
|
|
||||||
.. _CONFIGURE_INIT_TASK_ATTRIBUTES:
|
.. _CONFIGURE_INIT_TASK_ATTRIBUTES:
|
||||||
@ -64,27 +74,33 @@ NOTES:
|
|||||||
CONFIGURE_INIT_TASK_ATTRIBUTES
|
CONFIGURE_INIT_TASK_ATTRIBUTES
|
||||||
------------------------------
|
------------------------------
|
||||||
|
|
||||||
CONSTANT:
|
.. rubric:: CONSTANT:
|
||||||
``CONFIGURE_INIT_TASK_ATTRIBUTES``
|
|
||||||
|
|
||||||
OPTION TYPE:
|
``CONFIGURE_INIT_TASK_ATTRIBUTES``
|
||||||
This configuration option is an integer define.
|
|
||||||
|
|
||||||
DEFAULT VALUE:
|
.. rubric:: OPTION TYPE:
|
||||||
The default value is :c:macro:`RTEMS_DEFAULT_ATTRIBUTES`.
|
|
||||||
|
|
||||||
VALUE CONSTRAINTS:
|
This configuration option is an integer define.
|
||||||
The value of this configuration option shall be a valid task attribute set.
|
|
||||||
|
|
||||||
DESCRIPTION:
|
.. rubric:: DEFAULT VALUE:
|
||||||
The value of this configuration option defines the task attributes of the
|
|
||||||
Classic API initialization task.
|
|
||||||
|
|
||||||
NOTES:
|
The default value is :c:macro:`RTEMS_DEFAULT_ATTRIBUTES`.
|
||||||
None.
|
|
||||||
|
.. rubric:: DESCRIPTION:
|
||||||
|
|
||||||
|
The value of this configuration option defines the task attributes of the
|
||||||
|
Classic API initialization task.
|
||||||
|
|
||||||
|
.. rubric:: CONSTRAINTS:
|
||||||
|
|
||||||
|
The value of the configuration option shall be a valid task attribute set.
|
||||||
|
|
||||||
.. Generated from spec:/acfg/if/init-task-construct-storage-size
|
.. Generated from spec:/acfg/if/init-task-construct-storage-size
|
||||||
|
|
||||||
|
.. raw:: latex
|
||||||
|
|
||||||
|
\clearpage
|
||||||
|
|
||||||
.. index:: CONFIGURE_INIT_TASK_CONSTRUCT_STORAGE_SIZE
|
.. index:: CONFIGURE_INIT_TASK_CONSTRUCT_STORAGE_SIZE
|
||||||
|
|
||||||
.. _CONFIGURE_INIT_TASK_CONSTRUCT_STORAGE_SIZE:
|
.. _CONFIGURE_INIT_TASK_CONSTRUCT_STORAGE_SIZE:
|
||||||
@ -92,60 +108,70 @@ NOTES:
|
|||||||
CONFIGURE_INIT_TASK_CONSTRUCT_STORAGE_SIZE
|
CONFIGURE_INIT_TASK_CONSTRUCT_STORAGE_SIZE
|
||||||
------------------------------------------
|
------------------------------------------
|
||||||
|
|
||||||
CONSTANT:
|
.. rubric:: CONSTANT:
|
||||||
``CONFIGURE_INIT_TASK_CONSTRUCT_STORAGE_SIZE``
|
|
||||||
|
|
||||||
OPTION TYPE:
|
``CONFIGURE_INIT_TASK_CONSTRUCT_STORAGE_SIZE``
|
||||||
This configuration option is an integer define.
|
|
||||||
|
|
||||||
DEFAULT VALUE:
|
.. rubric:: OPTION TYPE:
|
||||||
This configuration option has no default value. If it is not specified, then
|
|
||||||
the Classic API initialization task will be created with the stack size
|
|
||||||
defined by the :ref:`CONFIGURE_INIT_TASK_STACK_SIZE` configuration option.
|
|
||||||
|
|
||||||
VALUE CONSTRAINTS:
|
This configuration option is an integer define.
|
||||||
The value of this configuration option shall satisfy all of the following
|
|
||||||
constraints:
|
|
||||||
|
|
||||||
* It shall be greater than or equal to
|
.. rubric:: DEFAULT VALUE:
|
||||||
:ref:`CONFIGURE_MINIMUM_TASK_STACK_SIZE`.
|
|
||||||
|
|
||||||
* It shall be defined using :c:func:`RTEMS_TASK_STORAGE_SIZE`.
|
This configuration option has no default value. If it is not specified, then
|
||||||
|
the Classic API initialization task will be created with the stack size
|
||||||
|
defined by the :ref:`CONFIGURE_INIT_TASK_STACK_SIZE` configuration option.
|
||||||
|
|
||||||
DESCRIPTION:
|
.. rubric:: DESCRIPTION:
|
||||||
The value of this configuration option defines the task storage size of the
|
|
||||||
Classic API initialization task.
|
|
||||||
|
|
||||||
NOTES:
|
The value of this configuration option defines the task storage size of the
|
||||||
If this configuration option is specified, then
|
Classic API initialization task.
|
||||||
|
|
||||||
* a task storage area of the specified size is statically allocated by
|
.. rubric:: NOTES:
|
||||||
|
|
||||||
|
If this configuration option is specified, then
|
||||||
|
|
||||||
|
* a task storage area of the specified size is statically allocated by
|
||||||
``<rtems/confdefs.h>`` for the Classic API initialization task,
|
``<rtems/confdefs.h>`` for the Classic API initialization task,
|
||||||
|
|
||||||
* the Classic API initialization task is constructed by
|
* the Classic API initialization task is constructed by
|
||||||
:c:func:`rtems_task_construct` instead of using
|
:c:func:`rtems_task_construct` instead of using
|
||||||
:c:func:`rtems_task_create`,
|
:c:func:`rtems_task_create`,
|
||||||
|
|
||||||
* the maximum thread-local storage size defined by
|
* the maximum thread-local storage size defined by
|
||||||
:ref:`CONFIGURE_MAXIMUM_THREAD_LOCAL_STORAGE_SIZE` is used for the Classic API
|
:ref:`CONFIGURE_MAXIMUM_THREAD_LOCAL_STORAGE_SIZE` is used for the Classic API
|
||||||
initialization task,
|
initialization task,
|
||||||
|
|
||||||
* the Classic API initialization task should be accounted for in
|
* the Classic API initialization task should be accounted for in
|
||||||
:ref:`CONFIGURE_MINIMUM_TASKS_WITH_USER_PROVIDED_STORAGE`, and
|
:ref:`CONFIGURE_MINIMUM_TASKS_WITH_USER_PROVIDED_STORAGE`, and
|
||||||
|
|
||||||
* the task storage area used for the Classic API initialization task is not
|
* the task storage area used for the Classic API initialization task is not
|
||||||
reclaimed by the system if the task is deleted.
|
reclaimed by the system if the task is deleted.
|
||||||
|
|
||||||
The
|
The
|
||||||
|
|
||||||
* :ref:`CONFIGURE_INIT_TASK_STACK_SIZE` and
|
* :ref:`CONFIGURE_INIT_TASK_STACK_SIZE` and
|
||||||
|
|
||||||
* ``CONFIGURE_INIT_TASK_CONSTRUCT_STORAGE_SIZE``
|
* ``CONFIGURE_INIT_TASK_CONSTRUCT_STORAGE_SIZE``
|
||||||
|
|
||||||
configuration options are mutually exclusive.
|
configuration options are mutually exclusive.
|
||||||
|
|
||||||
|
.. rubric:: CONSTRAINTS:
|
||||||
|
|
||||||
|
The following constraints apply to this configuration option:
|
||||||
|
|
||||||
|
* The value of the configuration option shall be greater than or equal to
|
||||||
|
:ref:`CONFIGURE_MINIMUM_TASK_STACK_SIZE`.
|
||||||
|
|
||||||
|
* The value of the configuration option shall be defined using
|
||||||
|
:c:func:`RTEMS_TASK_STORAGE_SIZE`.
|
||||||
|
|
||||||
.. Generated from spec:/acfg/if/init-task-entrypoint
|
.. Generated from spec:/acfg/if/init-task-entrypoint
|
||||||
|
|
||||||
|
.. raw:: latex
|
||||||
|
|
||||||
|
\clearpage
|
||||||
|
|
||||||
.. index:: CONFIGURE_INIT_TASK_ENTRY_POINT
|
.. index:: CONFIGURE_INIT_TASK_ENTRY_POINT
|
||||||
|
|
||||||
.. _CONFIGURE_INIT_TASK_ENTRY_POINT:
|
.. _CONFIGURE_INIT_TASK_ENTRY_POINT:
|
||||||
@ -153,29 +179,39 @@ NOTES:
|
|||||||
CONFIGURE_INIT_TASK_ENTRY_POINT
|
CONFIGURE_INIT_TASK_ENTRY_POINT
|
||||||
-------------------------------
|
-------------------------------
|
||||||
|
|
||||||
CONSTANT:
|
.. rubric:: CONSTANT:
|
||||||
``CONFIGURE_INIT_TASK_ENTRY_POINT``
|
|
||||||
|
|
||||||
OPTION TYPE:
|
``CONFIGURE_INIT_TASK_ENTRY_POINT``
|
||||||
This configuration option is an initializer define.
|
|
||||||
|
|
||||||
DEFAULT VALUE:
|
.. rubric:: OPTION TYPE:
|
||||||
The default value is ``Init``.
|
|
||||||
|
|
||||||
VALUE CONSTRAINTS:
|
This configuration option is an initializer define.
|
||||||
The value of this configuration option shall be defined to a valid function
|
|
||||||
pointer of the type ``void ( *entry_point )( rtems_task_argument )``.
|
|
||||||
|
|
||||||
DESCRIPTION:
|
.. rubric:: DEFAULT VALUE:
|
||||||
The value of this configuration option initializes the entry point of the
|
|
||||||
Classic API initialization task.
|
|
||||||
|
|
||||||
NOTES:
|
The default value is ``Init``.
|
||||||
The application shall provide the function referenced by this configuration
|
|
||||||
option.
|
.. rubric:: DESCRIPTION:
|
||||||
|
|
||||||
|
The value of this configuration option initializes the entry point of the
|
||||||
|
Classic API initialization task.
|
||||||
|
|
||||||
|
.. rubric:: NOTES:
|
||||||
|
|
||||||
|
The application shall provide the function referenced by this configuration
|
||||||
|
option.
|
||||||
|
|
||||||
|
.. rubric:: CONSTRAINTS:
|
||||||
|
|
||||||
|
The value of the configuration option shall be defined to a valid function
|
||||||
|
pointer of the type ``void ( *entry_point )( rtems_task_argument )``.
|
||||||
|
|
||||||
.. Generated from spec:/acfg/if/init-task-initial-modes
|
.. Generated from spec:/acfg/if/init-task-initial-modes
|
||||||
|
|
||||||
|
.. raw:: latex
|
||||||
|
|
||||||
|
\clearpage
|
||||||
|
|
||||||
.. index:: CONFIGURE_INIT_TASK_INITIAL_MODES
|
.. index:: CONFIGURE_INIT_TASK_INITIAL_MODES
|
||||||
|
|
||||||
.. _CONFIGURE_INIT_TASK_INITIAL_MODES:
|
.. _CONFIGURE_INIT_TASK_INITIAL_MODES:
|
||||||
@ -183,28 +219,34 @@ NOTES:
|
|||||||
CONFIGURE_INIT_TASK_INITIAL_MODES
|
CONFIGURE_INIT_TASK_INITIAL_MODES
|
||||||
---------------------------------
|
---------------------------------
|
||||||
|
|
||||||
CONSTANT:
|
.. rubric:: CONSTANT:
|
||||||
``CONFIGURE_INIT_TASK_INITIAL_MODES``
|
|
||||||
|
|
||||||
OPTION TYPE:
|
``CONFIGURE_INIT_TASK_INITIAL_MODES``
|
||||||
This configuration option is an integer define.
|
|
||||||
|
|
||||||
DEFAULT VALUE:
|
.. rubric:: OPTION TYPE:
|
||||||
In SMP configurations, the default value is :c:macro:`RTEMS_DEFAULT_MODES`
|
|
||||||
otherwise the default value is :c:macro:`RTEMS_NO_PREEMPT`.
|
|
||||||
|
|
||||||
VALUE CONSTRAINTS:
|
This configuration option is an integer define.
|
||||||
The value of this configuration option shall be a valid task mode set.
|
|
||||||
|
|
||||||
DESCRIPTION:
|
.. rubric:: DEFAULT VALUE:
|
||||||
The value of this configuration option defines the initial execution mode of
|
|
||||||
the Classic API initialization task.
|
|
||||||
|
|
||||||
NOTES:
|
In SMP configurations, the default value is :c:macro:`RTEMS_DEFAULT_MODES`
|
||||||
None.
|
otherwise the default value is :c:macro:`RTEMS_NO_PREEMPT`.
|
||||||
|
|
||||||
|
.. rubric:: DESCRIPTION:
|
||||||
|
|
||||||
|
The value of this configuration option defines the initial execution mode of
|
||||||
|
the Classic API initialization task.
|
||||||
|
|
||||||
|
.. rubric:: CONSTRAINTS:
|
||||||
|
|
||||||
|
The value of the configuration option shall be a valid task mode set.
|
||||||
|
|
||||||
.. Generated from spec:/acfg/if/init-task-name
|
.. Generated from spec:/acfg/if/init-task-name
|
||||||
|
|
||||||
|
.. raw:: latex
|
||||||
|
|
||||||
|
\clearpage
|
||||||
|
|
||||||
.. index:: CONFIGURE_INIT_TASK_NAME
|
.. index:: CONFIGURE_INIT_TASK_NAME
|
||||||
|
|
||||||
.. _CONFIGURE_INIT_TASK_NAME:
|
.. _CONFIGURE_INIT_TASK_NAME:
|
||||||
@ -212,28 +254,38 @@ NOTES:
|
|||||||
CONFIGURE_INIT_TASK_NAME
|
CONFIGURE_INIT_TASK_NAME
|
||||||
------------------------
|
------------------------
|
||||||
|
|
||||||
CONSTANT:
|
.. rubric:: CONSTANT:
|
||||||
``CONFIGURE_INIT_TASK_NAME``
|
|
||||||
|
|
||||||
OPTION TYPE:
|
``CONFIGURE_INIT_TASK_NAME``
|
||||||
This configuration option is an integer define.
|
|
||||||
|
|
||||||
DEFAULT VALUE:
|
.. rubric:: OPTION TYPE:
|
||||||
The default value is ``rtems_build_name( 'U', 'I', '1', ' ' )``.
|
|
||||||
|
|
||||||
VALUE CONSTRAINTS:
|
This configuration option is an integer define.
|
||||||
The value of this configuration option shall be convertible to an integer
|
|
||||||
of type :c:type:`rtems_name`.
|
|
||||||
|
|
||||||
DESCRIPTION:
|
.. rubric:: DEFAULT VALUE:
|
||||||
The value of this configuration option defines the name of the Classic API
|
|
||||||
initialization task.
|
|
||||||
|
|
||||||
NOTES:
|
The default value is ``rtems_build_name( 'U', 'I', '1', ' ' )``.
|
||||||
Use :c:func:`rtems_build_name` to define the task name.
|
|
||||||
|
.. rubric:: DESCRIPTION:
|
||||||
|
|
||||||
|
The value of this configuration option defines the name of the Classic API
|
||||||
|
initialization task.
|
||||||
|
|
||||||
|
.. rubric:: NOTES:
|
||||||
|
|
||||||
|
Use :c:func:`rtems_build_name` to define the task name.
|
||||||
|
|
||||||
|
.. rubric:: CONSTRAINTS:
|
||||||
|
|
||||||
|
The value of the configuration option shall be convertible to an integer of
|
||||||
|
type :c:type:`rtems_name`.
|
||||||
|
|
||||||
.. Generated from spec:/acfg/if/init-task-priority
|
.. Generated from spec:/acfg/if/init-task-priority
|
||||||
|
|
||||||
|
.. raw:: latex
|
||||||
|
|
||||||
|
\clearpage
|
||||||
|
|
||||||
.. index:: CONFIGURE_INIT_TASK_PRIORITY
|
.. index:: CONFIGURE_INIT_TASK_PRIORITY
|
||||||
|
|
||||||
.. _CONFIGURE_INIT_TASK_PRIORITY:
|
.. _CONFIGURE_INIT_TASK_PRIORITY:
|
||||||
@ -241,29 +293,35 @@ NOTES:
|
|||||||
CONFIGURE_INIT_TASK_PRIORITY
|
CONFIGURE_INIT_TASK_PRIORITY
|
||||||
----------------------------
|
----------------------------
|
||||||
|
|
||||||
CONSTANT:
|
.. rubric:: CONSTANT:
|
||||||
``CONFIGURE_INIT_TASK_PRIORITY``
|
|
||||||
|
|
||||||
OPTION TYPE:
|
``CONFIGURE_INIT_TASK_PRIORITY``
|
||||||
This configuration option is an integer define.
|
|
||||||
|
|
||||||
DEFAULT VALUE:
|
.. rubric:: OPTION TYPE:
|
||||||
The default value is 1.
|
|
||||||
|
|
||||||
VALUE CONSTRAINTS:
|
This configuration option is an integer define.
|
||||||
The value of this configuration option shall be a valid Classic API task
|
|
||||||
priority. The set of valid task priorities depends on the scheduler
|
|
||||||
configuration.
|
|
||||||
|
|
||||||
DESCRIPTION:
|
.. rubric:: DEFAULT VALUE:
|
||||||
The value of this configuration option defines the initial priority of the
|
|
||||||
Classic API initialization task.
|
|
||||||
|
|
||||||
NOTES:
|
The default value is 1.
|
||||||
None.
|
|
||||||
|
.. rubric:: DESCRIPTION:
|
||||||
|
|
||||||
|
The value of this configuration option defines the initial priority of the
|
||||||
|
Classic API initialization task.
|
||||||
|
|
||||||
|
.. rubric:: CONSTRAINTS:
|
||||||
|
|
||||||
|
The value of the configuration option shall be a valid Classic API task
|
||||||
|
priority. The set of valid task priorities depends on the scheduler
|
||||||
|
configuration.
|
||||||
|
|
||||||
.. Generated from spec:/acfg/if/init-task-stack-size
|
.. Generated from spec:/acfg/if/init-task-stack-size
|
||||||
|
|
||||||
|
.. raw:: latex
|
||||||
|
|
||||||
|
\clearpage
|
||||||
|
|
||||||
.. index:: CONFIGURE_INIT_TASK_STACK_SIZE
|
.. index:: CONFIGURE_INIT_TASK_STACK_SIZE
|
||||||
|
|
||||||
.. _CONFIGURE_INIT_TASK_STACK_SIZE:
|
.. _CONFIGURE_INIT_TASK_STACK_SIZE:
|
||||||
@ -271,41 +329,51 @@ NOTES:
|
|||||||
CONFIGURE_INIT_TASK_STACK_SIZE
|
CONFIGURE_INIT_TASK_STACK_SIZE
|
||||||
------------------------------
|
------------------------------
|
||||||
|
|
||||||
CONSTANT:
|
.. rubric:: CONSTANT:
|
||||||
``CONFIGURE_INIT_TASK_STACK_SIZE``
|
|
||||||
|
|
||||||
OPTION TYPE:
|
``CONFIGURE_INIT_TASK_STACK_SIZE``
|
||||||
This configuration option is an integer define.
|
|
||||||
|
|
||||||
DEFAULT VALUE:
|
.. rubric:: OPTION TYPE:
|
||||||
The default value is :ref:`CONFIGURE_MINIMUM_TASK_STACK_SIZE`.
|
|
||||||
|
|
||||||
VALUE CONSTRAINTS:
|
This configuration option is an integer define.
|
||||||
The value of this configuration option shall satisfy all of the following
|
|
||||||
constraints:
|
|
||||||
|
|
||||||
* It shall be greater than or equal to
|
.. rubric:: DEFAULT VALUE:
|
||||||
|
|
||||||
|
The default value is :ref:`CONFIGURE_MINIMUM_TASK_STACK_SIZE`.
|
||||||
|
|
||||||
|
.. rubric:: DESCRIPTION:
|
||||||
|
|
||||||
|
The value of this configuration option defines the task stack size of the
|
||||||
|
Classic API initialization task.
|
||||||
|
|
||||||
|
.. rubric:: NOTES:
|
||||||
|
|
||||||
|
The
|
||||||
|
|
||||||
|
* ``CONFIGURE_INIT_TASK_STACK_SIZE`` and
|
||||||
|
|
||||||
|
* :ref:`CONFIGURE_INIT_TASK_CONSTRUCT_STORAGE_SIZE`
|
||||||
|
|
||||||
|
configuration options are mutually exclusive.
|
||||||
|
|
||||||
|
.. rubric:: CONSTRAINTS:
|
||||||
|
|
||||||
|
The following constraints apply to this configuration option:
|
||||||
|
|
||||||
|
* The value of the configuration option shall be greater than or equal to
|
||||||
:ref:`CONFIGURE_MINIMUM_TASK_STACK_SIZE`.
|
:ref:`CONFIGURE_MINIMUM_TASK_STACK_SIZE`.
|
||||||
|
|
||||||
* It shall be small enough so that the task stack space calculation carried
|
* The value of the configuration option shall be small enough so that the task
|
||||||
out by ``<rtems/confdefs.h>`` does not overflow an integer of type
|
stack space calculation carried out by ``<rtems/confdefs.h>`` does not
|
||||||
`uintptr_t <https://en.cppreference.com/w/c/types/integer>`_.
|
overflow an integer of type `uintptr_t
|
||||||
|
<https://en.cppreference.com/w/c/types/integer>`_.
|
||||||
DESCRIPTION:
|
|
||||||
The value of this configuration option defines the task stack size of the
|
|
||||||
Classic API initialization task.
|
|
||||||
|
|
||||||
NOTES:
|
|
||||||
The
|
|
||||||
|
|
||||||
* ``CONFIGURE_INIT_TASK_STACK_SIZE`` and
|
|
||||||
|
|
||||||
* :ref:`CONFIGURE_INIT_TASK_CONSTRUCT_STORAGE_SIZE`
|
|
||||||
|
|
||||||
configuration options are mutually exclusive.
|
|
||||||
|
|
||||||
.. Generated from spec:/acfg/if/rtems-init-tasks-table
|
.. Generated from spec:/acfg/if/rtems-init-tasks-table
|
||||||
|
|
||||||
|
.. raw:: latex
|
||||||
|
|
||||||
|
\clearpage
|
||||||
|
|
||||||
.. index:: CONFIGURE_RTEMS_INIT_TASKS_TABLE
|
.. index:: CONFIGURE_RTEMS_INIT_TASKS_TABLE
|
||||||
|
|
||||||
.. _CONFIGURE_RTEMS_INIT_TASKS_TABLE:
|
.. _CONFIGURE_RTEMS_INIT_TASKS_TABLE:
|
||||||
@ -313,28 +381,33 @@ NOTES:
|
|||||||
CONFIGURE_RTEMS_INIT_TASKS_TABLE
|
CONFIGURE_RTEMS_INIT_TASKS_TABLE
|
||||||
--------------------------------
|
--------------------------------
|
||||||
|
|
||||||
CONSTANT:
|
.. rubric:: CONSTANT:
|
||||||
``CONFIGURE_RTEMS_INIT_TASKS_TABLE``
|
|
||||||
|
|
||||||
OPTION TYPE:
|
``CONFIGURE_RTEMS_INIT_TASKS_TABLE``
|
||||||
This configuration option is a boolean feature define.
|
|
||||||
|
|
||||||
DEFAULT CONFIGURATION:
|
.. rubric:: OPTION TYPE:
|
||||||
If this configuration option is undefined, then the described feature is not
|
|
||||||
enabled.
|
|
||||||
|
|
||||||
DESCRIPTION:
|
This configuration option is a boolean feature define.
|
||||||
In case this configuration option is defined, then exactly one Classic API
|
|
||||||
initialization task is configured.
|
|
||||||
|
|
||||||
NOTES:
|
.. rubric:: DEFAULT CONFIGURATION:
|
||||||
The application shall define exactly one of the following configuration
|
|
||||||
options
|
|
||||||
|
|
||||||
* ``CONFIGURE_RTEMS_INIT_TASKS_TABLE``,
|
If this configuration option is undefined, then the described feature is not
|
||||||
|
enabled.
|
||||||
|
|
||||||
* :ref:`CONFIGURE_POSIX_INIT_THREAD_TABLE`, or
|
.. rubric:: DESCRIPTION:
|
||||||
|
|
||||||
* :ref:`CONFIGURE_IDLE_TASK_INITIALIZES_APPLICATION`
|
In case this configuration option is defined, then exactly one Classic API
|
||||||
|
initialization task is configured.
|
||||||
|
|
||||||
otherwise a compile time error in the configuration file will occur.
|
.. rubric:: NOTES:
|
||||||
|
|
||||||
|
The application shall define exactly one of the following configuration
|
||||||
|
options
|
||||||
|
|
||||||
|
* ``CONFIGURE_RTEMS_INIT_TASKS_TABLE``,
|
||||||
|
|
||||||
|
* :ref:`CONFIGURE_POSIX_INIT_THREAD_TABLE`, or
|
||||||
|
|
||||||
|
* :ref:`CONFIGURE_IDLE_TASK_INITIALIZES_APPLICATION`
|
||||||
|
|
||||||
|
otherwise a compile time error in the configuration file will occur.
|
||||||
|
File diff suppressed because it is too large
Load Diff
@ -26,6 +26,10 @@ This section describes configuration options related to the event recording.
|
|||||||
|
|
||||||
.. Generated from spec:/acfg/if/record-extensions-enabled
|
.. Generated from spec:/acfg/if/record-extensions-enabled
|
||||||
|
|
||||||
|
.. raw:: latex
|
||||||
|
|
||||||
|
\clearpage
|
||||||
|
|
||||||
.. index:: CONFIGURE_RECORD_EXTENSIONS_ENABLED
|
.. index:: CONFIGURE_RECORD_EXTENSIONS_ENABLED
|
||||||
|
|
||||||
.. _CONFIGURE_RECORD_EXTENSIONS_ENABLED:
|
.. _CONFIGURE_RECORD_EXTENSIONS_ENABLED:
|
||||||
@ -33,31 +37,40 @@ This section describes configuration options related to the event recording.
|
|||||||
CONFIGURE_RECORD_EXTENSIONS_ENABLED
|
CONFIGURE_RECORD_EXTENSIONS_ENABLED
|
||||||
-----------------------------------
|
-----------------------------------
|
||||||
|
|
||||||
CONSTANT:
|
.. rubric:: CONSTANT:
|
||||||
``CONFIGURE_RECORD_EXTENSIONS_ENABLED``
|
|
||||||
|
|
||||||
OPTION TYPE:
|
``CONFIGURE_RECORD_EXTENSIONS_ENABLED``
|
||||||
This configuration option is a boolean feature define.
|
|
||||||
|
|
||||||
DEFAULT CONFIGURATION:
|
.. rubric:: OPTION TYPE:
|
||||||
If this configuration option is undefined, then the described feature is not
|
|
||||||
enabled.
|
|
||||||
|
|
||||||
DESCRIPTION:
|
This configuration option is a boolean feature define.
|
||||||
In case
|
|
||||||
|
|
||||||
* this configuration option is defined
|
.. rubric:: DEFAULT CONFIGURATION:
|
||||||
|
|
||||||
* and :ref:`CONFIGURE_RECORD_PER_PROCESSOR_ITEMS` is properly defined,
|
If this configuration option is undefined, then the described feature is not
|
||||||
|
enabled.
|
||||||
|
|
||||||
then the event record extensions are enabled.
|
.. rubric:: DESCRIPTION:
|
||||||
|
|
||||||
NOTES:
|
In case
|
||||||
The record extensions capture thread create, start, restart, delete, switch,
|
|
||||||
begin, exitted and terminate events.
|
* this configuration option is defined
|
||||||
|
|
||||||
|
* and :ref:`CONFIGURE_RECORD_PER_PROCESSOR_ITEMS` is properly defined,
|
||||||
|
|
||||||
|
then the event record extensions are enabled.
|
||||||
|
|
||||||
|
.. rubric:: NOTES:
|
||||||
|
|
||||||
|
The record extensions capture thread create, start, restart, delete, switch,
|
||||||
|
begin, exitted and terminate events.
|
||||||
|
|
||||||
.. Generated from spec:/acfg/if/record-fatal-dump-base64
|
.. Generated from spec:/acfg/if/record-fatal-dump-base64
|
||||||
|
|
||||||
|
.. raw:: latex
|
||||||
|
|
||||||
|
\clearpage
|
||||||
|
|
||||||
.. index:: CONFIGURE_RECORD_FATAL_DUMP_BASE64
|
.. index:: CONFIGURE_RECORD_FATAL_DUMP_BASE64
|
||||||
|
|
||||||
.. _CONFIGURE_RECORD_FATAL_DUMP_BASE64:
|
.. _CONFIGURE_RECORD_FATAL_DUMP_BASE64:
|
||||||
@ -65,33 +78,42 @@ NOTES:
|
|||||||
CONFIGURE_RECORD_FATAL_DUMP_BASE64
|
CONFIGURE_RECORD_FATAL_DUMP_BASE64
|
||||||
----------------------------------
|
----------------------------------
|
||||||
|
|
||||||
CONSTANT:
|
.. rubric:: CONSTANT:
|
||||||
``CONFIGURE_RECORD_FATAL_DUMP_BASE64``
|
|
||||||
|
|
||||||
OPTION TYPE:
|
``CONFIGURE_RECORD_FATAL_DUMP_BASE64``
|
||||||
This configuration option is a boolean feature define.
|
|
||||||
|
|
||||||
DEFAULT CONFIGURATION:
|
.. rubric:: OPTION TYPE:
|
||||||
If this configuration option is undefined, then the described feature is not
|
|
||||||
enabled.
|
|
||||||
|
|
||||||
DESCRIPTION:
|
This configuration option is a boolean feature define.
|
||||||
In case
|
|
||||||
|
|
||||||
* this configuration option is defined
|
.. rubric:: DEFAULT CONFIGURATION:
|
||||||
|
|
||||||
* and :ref:`CONFIGURE_RECORD_PER_PROCESSOR_ITEMS` is properly defined,
|
If this configuration option is undefined, then the described feature is not
|
||||||
|
enabled.
|
||||||
|
|
||||||
* and :ref:`CONFIGURE_RECORD_FATAL_DUMP_BASE64_ZLIB` is undefined,
|
.. rubric:: DESCRIPTION:
|
||||||
|
|
||||||
then the event records are dumped in Base64 encoding in a fatal error
|
In case
|
||||||
extension (see :ref:`Terminate`).
|
|
||||||
|
|
||||||
NOTES:
|
* this configuration option is defined
|
||||||
This extension can be used to produce crash dumps.
|
|
||||||
|
* and :ref:`CONFIGURE_RECORD_PER_PROCESSOR_ITEMS` is properly defined,
|
||||||
|
|
||||||
|
* and :ref:`CONFIGURE_RECORD_FATAL_DUMP_BASE64_ZLIB` is undefined,
|
||||||
|
|
||||||
|
then the event records are dumped in Base64 encoding in a fatal error
|
||||||
|
extension (see :ref:`Terminate`).
|
||||||
|
|
||||||
|
.. rubric:: NOTES:
|
||||||
|
|
||||||
|
This extension can be used to produce crash dumps.
|
||||||
|
|
||||||
.. Generated from spec:/acfg/if/record-fatal-dump-base64-zlib
|
.. Generated from spec:/acfg/if/record-fatal-dump-base64-zlib
|
||||||
|
|
||||||
|
.. raw:: latex
|
||||||
|
|
||||||
|
\clearpage
|
||||||
|
|
||||||
.. index:: CONFIGURE_RECORD_FATAL_DUMP_BASE64_ZLIB
|
.. index:: CONFIGURE_RECORD_FATAL_DUMP_BASE64_ZLIB
|
||||||
|
|
||||||
.. _CONFIGURE_RECORD_FATAL_DUMP_BASE64_ZLIB:
|
.. _CONFIGURE_RECORD_FATAL_DUMP_BASE64_ZLIB:
|
||||||
@ -99,32 +121,41 @@ NOTES:
|
|||||||
CONFIGURE_RECORD_FATAL_DUMP_BASE64_ZLIB
|
CONFIGURE_RECORD_FATAL_DUMP_BASE64_ZLIB
|
||||||
---------------------------------------
|
---------------------------------------
|
||||||
|
|
||||||
CONSTANT:
|
.. rubric:: CONSTANT:
|
||||||
``CONFIGURE_RECORD_FATAL_DUMP_BASE64_ZLIB``
|
|
||||||
|
|
||||||
OPTION TYPE:
|
``CONFIGURE_RECORD_FATAL_DUMP_BASE64_ZLIB``
|
||||||
This configuration option is a boolean feature define.
|
|
||||||
|
|
||||||
DEFAULT CONFIGURATION:
|
.. rubric:: OPTION TYPE:
|
||||||
If this configuration option is undefined, then the described feature is not
|
|
||||||
enabled.
|
|
||||||
|
|
||||||
DESCRIPTION:
|
This configuration option is a boolean feature define.
|
||||||
In case
|
|
||||||
|
|
||||||
* this configuration option is defined
|
.. rubric:: DEFAULT CONFIGURATION:
|
||||||
|
|
||||||
* and :ref:`CONFIGURE_RECORD_PER_PROCESSOR_ITEMS` is properly defined,
|
If this configuration option is undefined, then the described feature is not
|
||||||
|
enabled.
|
||||||
|
|
||||||
then the event records are compressed by zlib and dumped in Base64 encoding
|
.. rubric:: DESCRIPTION:
|
||||||
in a fatal error extension (see :ref:`Terminate`).
|
|
||||||
|
|
||||||
NOTES:
|
In case
|
||||||
The zlib compression needs about 512KiB of RAM. This extension can be used
|
|
||||||
to produce crash dumps.
|
* this configuration option is defined
|
||||||
|
|
||||||
|
* and :ref:`CONFIGURE_RECORD_PER_PROCESSOR_ITEMS` is properly defined,
|
||||||
|
|
||||||
|
then the event records are compressed by zlib and dumped in Base64 encoding
|
||||||
|
in a fatal error extension (see :ref:`Terminate`).
|
||||||
|
|
||||||
|
.. rubric:: NOTES:
|
||||||
|
|
||||||
|
The zlib compression needs about 512KiB of RAM. This extension can be used
|
||||||
|
to produce crash dumps.
|
||||||
|
|
||||||
.. Generated from spec:/acfg/if/record-per-processor-items
|
.. Generated from spec:/acfg/if/record-per-processor-items
|
||||||
|
|
||||||
|
.. raw:: latex
|
||||||
|
|
||||||
|
\clearpage
|
||||||
|
|
||||||
.. index:: CONFIGURE_RECORD_PER_PROCESSOR_ITEMS
|
.. index:: CONFIGURE_RECORD_PER_PROCESSOR_ITEMS
|
||||||
|
|
||||||
.. _CONFIGURE_RECORD_PER_PROCESSOR_ITEMS:
|
.. _CONFIGURE_RECORD_PER_PROCESSOR_ITEMS:
|
||||||
@ -132,35 +163,40 @@ NOTES:
|
|||||||
CONFIGURE_RECORD_PER_PROCESSOR_ITEMS
|
CONFIGURE_RECORD_PER_PROCESSOR_ITEMS
|
||||||
------------------------------------
|
------------------------------------
|
||||||
|
|
||||||
CONSTANT:
|
.. rubric:: CONSTANT:
|
||||||
``CONFIGURE_RECORD_PER_PROCESSOR_ITEMS``
|
|
||||||
|
|
||||||
OPTION TYPE:
|
``CONFIGURE_RECORD_PER_PROCESSOR_ITEMS``
|
||||||
This configuration option is an integer define.
|
|
||||||
|
|
||||||
DEFAULT VALUE:
|
.. rubric:: OPTION TYPE:
|
||||||
The default value is 0.
|
|
||||||
|
|
||||||
VALUE CONSTRAINTS:
|
This configuration option is an integer define.
|
||||||
The value of this configuration option shall satisfy all of the following
|
|
||||||
constraints:
|
|
||||||
|
|
||||||
* It shall be greater than or equal to 16.
|
.. rubric:: DEFAULT VALUE:
|
||||||
|
|
||||||
* It shall be less than or equal to `SIZE_MAX
|
The default value is 0.
|
||||||
<https://en.cppreference.com/w/c/types/limits>`_.
|
|
||||||
|
|
||||||
* It shall be a power of two.
|
.. rubric:: DESCRIPTION:
|
||||||
|
|
||||||
* It shall be less than or equal to a BSP-specific and application-specific
|
The value of this configuration option defines the event record item count
|
||||||
value which depends on the size of the memory available to the
|
per processor.
|
||||||
application.
|
|
||||||
|
|
||||||
DESCRIPTION:
|
.. rubric:: NOTES:
|
||||||
The value of this configuration option defines the event record item count
|
|
||||||
per processor.
|
|
||||||
|
|
||||||
NOTES:
|
The event record buffers are statically allocated for each configured
|
||||||
The event record buffers are statically allocated for each configured
|
processor (:ref:`CONFIGURE_MAXIMUM_PROCESSORS`). If the value of this
|
||||||
processor (:ref:`CONFIGURE_MAXIMUM_PROCESSORS`). If the value of this
|
configuration option is zero, then nothing is allocated.
|
||||||
configuration option is zero, then nothing is allocated.
|
|
||||||
|
.. rubric:: CONSTRAINTS:
|
||||||
|
|
||||||
|
The following constraints apply to this configuration option:
|
||||||
|
|
||||||
|
* The value of the configuration option shall be greater than or equal to 16.
|
||||||
|
|
||||||
|
* The value of the configuration option shall be less than or equal to
|
||||||
|
`SIZE_MAX <https://en.cppreference.com/w/c/types/limits>`_.
|
||||||
|
|
||||||
|
* The value of the configuration option shall be a power of two.
|
||||||
|
|
||||||
|
* The value of the configuration option shall be less than or equal to a
|
||||||
|
BSP-specific and application-specific value which depends on the size of the
|
||||||
|
memory available to the application.
|
||||||
|
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
@ -27,6 +27,10 @@ This section describes configuration options related to the idle tasks.
|
|||||||
|
|
||||||
.. Generated from spec:/acfg/if/idle-task-body
|
.. Generated from spec:/acfg/if/idle-task-body
|
||||||
|
|
||||||
|
.. raw:: latex
|
||||||
|
|
||||||
|
\clearpage
|
||||||
|
|
||||||
.. index:: CONFIGURE_IDLE_TASK_BODY
|
.. index:: CONFIGURE_IDLE_TASK_BODY
|
||||||
|
|
||||||
.. _CONFIGURE_IDLE_TASK_BODY:
|
.. _CONFIGURE_IDLE_TASK_BODY:
|
||||||
@ -34,33 +38,43 @@ This section describes configuration options related to the idle tasks.
|
|||||||
CONFIGURE_IDLE_TASK_BODY
|
CONFIGURE_IDLE_TASK_BODY
|
||||||
------------------------
|
------------------------
|
||||||
|
|
||||||
CONSTANT:
|
.. rubric:: CONSTANT:
|
||||||
``CONFIGURE_IDLE_TASK_BODY``
|
|
||||||
|
|
||||||
OPTION TYPE:
|
``CONFIGURE_IDLE_TASK_BODY``
|
||||||
This configuration option is an initializer define.
|
|
||||||
|
|
||||||
DEFAULT VALUE:
|
.. rubric:: OPTION TYPE:
|
||||||
If :ref:`BSP_IDLE_TASK_BODY` is defined, then this will be the default value,
|
|
||||||
otherwise the default value is ``_CPU_Thread_Idle_body``.
|
|
||||||
|
|
||||||
VALUE CONSTRAINTS:
|
This configuration option is an initializer define.
|
||||||
The value of this configuration option shall be defined to a valid function
|
|
||||||
pointer of the type ``void *( *idle_body )( uintptr_t )``.
|
|
||||||
|
|
||||||
DESCRIPTION:
|
.. rubric:: DEFAULT VALUE:
|
||||||
The value of this configuration option initializes the IDLE thread body.
|
|
||||||
|
|
||||||
NOTES:
|
If :ref:`BSP_IDLE_TASK_BODY` is defined, then this will be the default value,
|
||||||
IDLE threads shall not block. A blocking IDLE thread results in undefined
|
otherwise the default value is ``_CPU_Thread_Idle_body``.
|
||||||
system behaviour because the scheduler assume that at least one ready thread
|
|
||||||
exists.
|
|
||||||
|
|
||||||
IDLE threads can be used to initialize the application, see configuration
|
.. rubric:: DESCRIPTION:
|
||||||
option :ref:`CONFIGURE_IDLE_TASK_INITIALIZES_APPLICATION`.
|
|
||||||
|
The value of this configuration option initializes the IDLE thread body.
|
||||||
|
|
||||||
|
.. rubric:: NOTES:
|
||||||
|
|
||||||
|
IDLE threads shall not block. A blocking IDLE thread results in undefined
|
||||||
|
system behaviour because the scheduler assume that at least one ready thread
|
||||||
|
exists.
|
||||||
|
|
||||||
|
IDLE threads can be used to initialize the application, see configuration
|
||||||
|
option :ref:`CONFIGURE_IDLE_TASK_INITIALIZES_APPLICATION`.
|
||||||
|
|
||||||
|
.. rubric:: CONSTRAINTS:
|
||||||
|
|
||||||
|
The value of the configuration option shall be defined to a valid function
|
||||||
|
pointer of the type ``void *( *idle_body )( uintptr_t )``.
|
||||||
|
|
||||||
.. Generated from spec:/acfg/if/idle-task-init-appl
|
.. Generated from spec:/acfg/if/idle-task-init-appl
|
||||||
|
|
||||||
|
.. raw:: latex
|
||||||
|
|
||||||
|
\clearpage
|
||||||
|
|
||||||
.. index:: CONFIGURE_IDLE_TASK_INITIALIZES_APPLICATION
|
.. index:: CONFIGURE_IDLE_TASK_INITIALIZES_APPLICATION
|
||||||
|
|
||||||
.. _CONFIGURE_IDLE_TASK_INITIALIZES_APPLICATION:
|
.. _CONFIGURE_IDLE_TASK_INITIALIZES_APPLICATION:
|
||||||
@ -68,47 +82,56 @@ NOTES:
|
|||||||
CONFIGURE_IDLE_TASK_INITIALIZES_APPLICATION
|
CONFIGURE_IDLE_TASK_INITIALIZES_APPLICATION
|
||||||
-------------------------------------------
|
-------------------------------------------
|
||||||
|
|
||||||
CONSTANT:
|
.. rubric:: CONSTANT:
|
||||||
``CONFIGURE_IDLE_TASK_INITIALIZES_APPLICATION``
|
|
||||||
|
|
||||||
OPTION TYPE:
|
``CONFIGURE_IDLE_TASK_INITIALIZES_APPLICATION``
|
||||||
This configuration option is a boolean feature define.
|
|
||||||
|
|
||||||
DEFAULT CONFIGURATION:
|
.. rubric:: OPTION TYPE:
|
||||||
If this configuration option is undefined, then the user is assumed to
|
|
||||||
provide one or more initialization tasks.
|
|
||||||
|
|
||||||
DESCRIPTION:
|
This configuration option is a boolean feature define.
|
||||||
This configuration option is defined to indicate that the user has configured
|
|
||||||
**no** user initialization tasks or threads and that the user provided IDLE
|
|
||||||
task will perform application initialization and then transform itself into
|
|
||||||
an IDLE task.
|
|
||||||
|
|
||||||
NOTES:
|
.. rubric:: DEFAULT CONFIGURATION:
|
||||||
If you use this option be careful, the user IDLE task **cannot** block at all
|
|
||||||
during the initialization sequence. Further, once application
|
|
||||||
initialization is complete, it shall make itself preemptible and enter an idle
|
|
||||||
body loop.
|
|
||||||
|
|
||||||
The IDLE task shall run at the lowest priority of all tasks in the system.
|
If this configuration option is undefined, then the user is assumed to
|
||||||
|
provide one or more initialization tasks.
|
||||||
|
|
||||||
If this configuration option is defined, then it is mandatory to configure a
|
.. rubric:: DESCRIPTION:
|
||||||
user IDLE task with the :ref:`CONFIGURE_IDLE_TASK_BODY` configuration option,
|
|
||||||
otherwise a compile time error in the configuration file will occur.
|
|
||||||
|
|
||||||
The application shall define exactly one of the following configuration
|
This configuration option is defined to indicate that the user has configured
|
||||||
options
|
**no** user initialization tasks or threads and that the user provided IDLE
|
||||||
|
task will perform application initialization and then transform itself into
|
||||||
|
an IDLE task.
|
||||||
|
|
||||||
* :ref:`CONFIGURE_RTEMS_INIT_TASKS_TABLE`,
|
.. rubric:: NOTES:
|
||||||
|
|
||||||
* :ref:`CONFIGURE_POSIX_INIT_THREAD_TABLE`, or
|
If you use this option be careful, the user IDLE task **cannot** block at all
|
||||||
|
during the initialization sequence. Further, once application
|
||||||
|
initialization is complete, it shall make itself preemptible and enter an idle
|
||||||
|
body loop.
|
||||||
|
|
||||||
* ``CONFIGURE_IDLE_TASK_INITIALIZES_APPLICATION``
|
The IDLE task shall run at the lowest priority of all tasks in the system.
|
||||||
|
|
||||||
otherwise a compile time error in the configuration file will occur.
|
If this configuration option is defined, then it is mandatory to configure a
|
||||||
|
user IDLE task with the :ref:`CONFIGURE_IDLE_TASK_BODY` configuration option,
|
||||||
|
otherwise a compile time error in the configuration file will occur.
|
||||||
|
|
||||||
|
The application shall define exactly one of the following configuration
|
||||||
|
options
|
||||||
|
|
||||||
|
* :ref:`CONFIGURE_RTEMS_INIT_TASKS_TABLE`,
|
||||||
|
|
||||||
|
* :ref:`CONFIGURE_POSIX_INIT_THREAD_TABLE`, or
|
||||||
|
|
||||||
|
* ``CONFIGURE_IDLE_TASK_INITIALIZES_APPLICATION``
|
||||||
|
|
||||||
|
otherwise a compile time error in the configuration file will occur.
|
||||||
|
|
||||||
.. Generated from spec:/acfg/if/idle-task-stack-size
|
.. Generated from spec:/acfg/if/idle-task-stack-size
|
||||||
|
|
||||||
|
.. raw:: latex
|
||||||
|
|
||||||
|
\clearpage
|
||||||
|
|
||||||
.. index:: CONFIGURE_IDLE_TASK_STACK_SIZE
|
.. index:: CONFIGURE_IDLE_TASK_STACK_SIZE
|
||||||
|
|
||||||
.. _CONFIGURE_IDLE_TASK_STACK_SIZE:
|
.. _CONFIGURE_IDLE_TASK_STACK_SIZE:
|
||||||
@ -116,30 +139,36 @@ NOTES:
|
|||||||
CONFIGURE_IDLE_TASK_STACK_SIZE
|
CONFIGURE_IDLE_TASK_STACK_SIZE
|
||||||
------------------------------
|
------------------------------
|
||||||
|
|
||||||
CONSTANT:
|
.. rubric:: CONSTANT:
|
||||||
``CONFIGURE_IDLE_TASK_STACK_SIZE``
|
|
||||||
|
|
||||||
OPTION TYPE:
|
``CONFIGURE_IDLE_TASK_STACK_SIZE``
|
||||||
This configuration option is an integer define.
|
|
||||||
|
|
||||||
DEFAULT VALUE:
|
.. rubric:: OPTION TYPE:
|
||||||
The default value is :ref:`CONFIGURE_MINIMUM_TASK_STACK_SIZE`.
|
|
||||||
|
|
||||||
VALUE CONSTRAINTS:
|
This configuration option is an integer define.
|
||||||
The value of this configuration option shall satisfy all of the following
|
|
||||||
constraints:
|
|
||||||
|
|
||||||
* It shall be greater than or equal to a BSP-specific and
|
.. rubric:: DEFAULT VALUE:
|
||||||
application-specific minimum value.
|
|
||||||
|
|
||||||
* It shall be small enough so that the IDLE task stack area calculation
|
The default value is :ref:`CONFIGURE_MINIMUM_TASK_STACK_SIZE`.
|
||||||
carried out by ``<rtems/confdefs.h>`` does not overflow an integer of
|
|
||||||
type `size_t <https://en.cppreference.com/w/c/types/size_t>`_.
|
|
||||||
|
|
||||||
DESCRIPTION:
|
.. rubric:: DESCRIPTION:
|
||||||
The value of this configuration option defines the task stack size for an
|
|
||||||
IDLE task.
|
|
||||||
|
|
||||||
NOTES:
|
The value of this configuration option defines the task stack size for an
|
||||||
In SMP configurations, there is one IDLE task per configured processor, see
|
IDLE task.
|
||||||
:ref:`CONFIGURE_MAXIMUM_PROCESSORS`.
|
|
||||||
|
.. rubric:: NOTES:
|
||||||
|
|
||||||
|
In SMP configurations, there is one IDLE task per configured processor, see
|
||||||
|
:ref:`CONFIGURE_MAXIMUM_PROCESSORS`.
|
||||||
|
|
||||||
|
.. rubric:: CONSTRAINTS:
|
||||||
|
|
||||||
|
The following constraints apply to this configuration option:
|
||||||
|
|
||||||
|
* The value of the configuration option shall be greater than or equal to a
|
||||||
|
BSP-specific and application-specific minimum value.
|
||||||
|
|
||||||
|
* The value of the configuration option shall be small enough so that the IDLE
|
||||||
|
task stack area calculation carried out by ``<rtems/confdefs.h>`` does not
|
||||||
|
overflow an integer of type `size_t
|
||||||
|
<https://en.cppreference.com/w/c/types/size_t>`_.
|
||||||
|
@ -32,6 +32,10 @@ SMP support.
|
|||||||
|
|
||||||
.. Generated from spec:/acfg/if/mp-extra-server-stack
|
.. Generated from spec:/acfg/if/mp-extra-server-stack
|
||||||
|
|
||||||
|
.. raw:: latex
|
||||||
|
|
||||||
|
\clearpage
|
||||||
|
|
||||||
.. index:: CONFIGURE_EXTRA_MPCI_RECEIVE_SERVER_STACK
|
.. index:: CONFIGURE_EXTRA_MPCI_RECEIVE_SERVER_STACK
|
||||||
|
|
||||||
.. _CONFIGURE_EXTRA_MPCI_RECEIVE_SERVER_STACK:
|
.. _CONFIGURE_EXTRA_MPCI_RECEIVE_SERVER_STACK:
|
||||||
@ -39,39 +43,49 @@ SMP support.
|
|||||||
CONFIGURE_EXTRA_MPCI_RECEIVE_SERVER_STACK
|
CONFIGURE_EXTRA_MPCI_RECEIVE_SERVER_STACK
|
||||||
-----------------------------------------
|
-----------------------------------------
|
||||||
|
|
||||||
CONSTANT:
|
.. rubric:: CONSTANT:
|
||||||
``CONFIGURE_EXTRA_MPCI_RECEIVE_SERVER_STACK``
|
|
||||||
|
|
||||||
OPTION TYPE:
|
``CONFIGURE_EXTRA_MPCI_RECEIVE_SERVER_STACK``
|
||||||
This configuration option is an integer define.
|
|
||||||
|
|
||||||
DEFAULT VALUE:
|
.. rubric:: OPTION TYPE:
|
||||||
The default value is 0.
|
|
||||||
|
|
||||||
VALUE CONSTRAINTS:
|
This configuration option is an integer define.
|
||||||
The value of this configuration option shall satisfy all of the following
|
|
||||||
constraints:
|
|
||||||
|
|
||||||
* It shall be greater than or equal to zero.
|
.. rubric:: DEFAULT VALUE:
|
||||||
|
|
||||||
* It shall be less than or equal to `UINT32_MAX
|
The default value is 0.
|
||||||
<https://en.cppreference.com/w/c/types/integer>`_.
|
|
||||||
|
|
||||||
* It shall be small enough so that the MPCI receive server stack area
|
.. rubric:: DESCRIPTION:
|
||||||
calculation carried out by ``<rtems/confdefs.h>`` does not overflow an
|
|
||||||
integer of type `size_t <https://en.cppreference.com/w/c/types/size_t>`_.
|
|
||||||
|
|
||||||
DESCRIPTION:
|
The value of this configuration option defines the number of bytes the
|
||||||
The value of this configuration option defines the number of bytes the
|
applications wishes to add to the MPCI task stack on top of
|
||||||
applications wishes to add to the MPCI task stack on top of
|
:ref:`CONFIGURE_MINIMUM_TASK_STACK_SIZE`.
|
||||||
:ref:`CONFIGURE_MINIMUM_TASK_STACK_SIZE`.
|
|
||||||
|
|
||||||
NOTES:
|
.. rubric:: NOTES:
|
||||||
This configuration option is only evaluated if
|
|
||||||
:ref:`CONFIGURE_MP_APPLICATION` is defined.
|
This configuration option is only evaluated if
|
||||||
|
:ref:`CONFIGURE_MP_APPLICATION` is defined.
|
||||||
|
|
||||||
|
.. rubric:: CONSTRAINTS:
|
||||||
|
|
||||||
|
The following constraints apply to this configuration option:
|
||||||
|
|
||||||
|
* The value of the configuration option shall be greater than or equal to zero.
|
||||||
|
|
||||||
|
* The value of the configuration option shall be less than or equal to
|
||||||
|
`UINT32_MAX <https://en.cppreference.com/w/c/types/integer>`_.
|
||||||
|
|
||||||
|
* The value of the configuration option shall be small enough so that the MPCI
|
||||||
|
receive server stack area calculation carried out by ``<rtems/confdefs.h>``
|
||||||
|
does not overflow an integer of type `size_t
|
||||||
|
<https://en.cppreference.com/w/c/types/size_t>`_.
|
||||||
|
|
||||||
.. Generated from spec:/acfg/if/mp-appl
|
.. Generated from spec:/acfg/if/mp-appl
|
||||||
|
|
||||||
|
.. raw:: latex
|
||||||
|
|
||||||
|
\clearpage
|
||||||
|
|
||||||
.. index:: CONFIGURE_MP_APPLICATION
|
.. index:: CONFIGURE_MP_APPLICATION
|
||||||
|
|
||||||
.. _CONFIGURE_MP_APPLICATION:
|
.. _CONFIGURE_MP_APPLICATION:
|
||||||
@ -79,29 +93,38 @@ NOTES:
|
|||||||
CONFIGURE_MP_APPLICATION
|
CONFIGURE_MP_APPLICATION
|
||||||
------------------------
|
------------------------
|
||||||
|
|
||||||
CONSTANT:
|
.. rubric:: CONSTANT:
|
||||||
``CONFIGURE_MP_APPLICATION``
|
|
||||||
|
|
||||||
OPTION TYPE:
|
``CONFIGURE_MP_APPLICATION``
|
||||||
This configuration option is a boolean feature define.
|
|
||||||
|
|
||||||
DEFAULT CONFIGURATION:
|
.. rubric:: OPTION TYPE:
|
||||||
If this configuration option is undefined, then the multiprocessing services
|
|
||||||
are not initialized.
|
|
||||||
|
|
||||||
DESCRIPTION:
|
This configuration option is a boolean feature define.
|
||||||
This configuration option is defined to indicate that the application intends
|
|
||||||
to be part of a multiprocessing configuration. Additional configuration
|
|
||||||
options are assumed to be provided.
|
|
||||||
|
|
||||||
NOTES:
|
.. rubric:: DEFAULT CONFIGURATION:
|
||||||
This configuration option shall be undefined if the multiprocessing support
|
|
||||||
is not enabled (e.g. RTEMS was built without the ``--enable-multiprocessing``
|
If this configuration option is undefined, then the multiprocessing services
|
||||||
build configuration option). Otherwise a compile time error in the
|
are not initialized.
|
||||||
configuration file will occur.
|
|
||||||
|
.. rubric:: DESCRIPTION:
|
||||||
|
|
||||||
|
This configuration option is defined to indicate that the application intends
|
||||||
|
to be part of a multiprocessing configuration. Additional configuration
|
||||||
|
options are assumed to be provided.
|
||||||
|
|
||||||
|
.. rubric:: NOTES:
|
||||||
|
|
||||||
|
This configuration option shall be undefined if the multiprocessing support
|
||||||
|
is not enabled (e.g. RTEMS was built without the ``--enable-multiprocessing``
|
||||||
|
build configuration option). Otherwise a compile time error in the
|
||||||
|
configuration file will occur.
|
||||||
|
|
||||||
.. Generated from spec:/acfg/if/mp-max-global-objects
|
.. Generated from spec:/acfg/if/mp-max-global-objects
|
||||||
|
|
||||||
|
.. raw:: latex
|
||||||
|
|
||||||
|
\clearpage
|
||||||
|
|
||||||
.. index:: CONFIGURE_MP_MAXIMUM_GLOBAL_OBJECTS
|
.. index:: CONFIGURE_MP_MAXIMUM_GLOBAL_OBJECTS
|
||||||
|
|
||||||
.. _CONFIGURE_MP_MAXIMUM_GLOBAL_OBJECTS:
|
.. _CONFIGURE_MP_MAXIMUM_GLOBAL_OBJECTS:
|
||||||
@ -109,37 +132,46 @@ NOTES:
|
|||||||
CONFIGURE_MP_MAXIMUM_GLOBAL_OBJECTS
|
CONFIGURE_MP_MAXIMUM_GLOBAL_OBJECTS
|
||||||
-----------------------------------
|
-----------------------------------
|
||||||
|
|
||||||
CONSTANT:
|
.. rubric:: CONSTANT:
|
||||||
``CONFIGURE_MP_MAXIMUM_GLOBAL_OBJECTS``
|
|
||||||
|
|
||||||
OPTION TYPE:
|
``CONFIGURE_MP_MAXIMUM_GLOBAL_OBJECTS``
|
||||||
This configuration option is an integer define.
|
|
||||||
|
|
||||||
DEFAULT VALUE:
|
.. rubric:: OPTION TYPE:
|
||||||
The default value is 32.
|
|
||||||
|
|
||||||
VALUE CONSTRAINTS:
|
This configuration option is an integer define.
|
||||||
The value of this configuration option shall satisfy all of the following
|
|
||||||
constraints:
|
|
||||||
|
|
||||||
* It shall be greater than or equal to zero.
|
.. rubric:: DEFAULT VALUE:
|
||||||
|
|
||||||
* It shall be less than or equal to `UINT32_MAX
|
The default value is 32.
|
||||||
<https://en.cppreference.com/w/c/types/integer>`_.
|
|
||||||
|
|
||||||
DESCRIPTION:
|
.. rubric:: DESCRIPTION:
|
||||||
The value of this configuration option defines the maximum number of
|
|
||||||
concurrently active global objects in a multiprocessor system.
|
|
||||||
|
|
||||||
NOTES:
|
The value of this configuration option defines the maximum number of
|
||||||
This value corresponds to the total number of objects which can be created
|
concurrently active global objects in a multiprocessor system.
|
||||||
with the :c:macro:`RTEMS_GLOBAL` attribute.
|
|
||||||
|
|
||||||
This configuration option is only evaluated if
|
.. rubric:: NOTES:
|
||||||
:ref:`CONFIGURE_MP_APPLICATION` is defined.
|
|
||||||
|
This value corresponds to the total number of objects which can be created
|
||||||
|
with the :c:macro:`RTEMS_GLOBAL` attribute.
|
||||||
|
|
||||||
|
This configuration option is only evaluated if
|
||||||
|
:ref:`CONFIGURE_MP_APPLICATION` is defined.
|
||||||
|
|
||||||
|
.. rubric:: CONSTRAINTS:
|
||||||
|
|
||||||
|
The following constraints apply to this configuration option:
|
||||||
|
|
||||||
|
* The value of the configuration option shall be greater than or equal to zero.
|
||||||
|
|
||||||
|
* The value of the configuration option shall be less than or equal to
|
||||||
|
`UINT32_MAX <https://en.cppreference.com/w/c/types/integer>`_.
|
||||||
|
|
||||||
.. Generated from spec:/acfg/if/mp-max-nodes
|
.. Generated from spec:/acfg/if/mp-max-nodes
|
||||||
|
|
||||||
|
.. raw:: latex
|
||||||
|
|
||||||
|
\clearpage
|
||||||
|
|
||||||
.. index:: CONFIGURE_MP_MAXIMUM_NODES
|
.. index:: CONFIGURE_MP_MAXIMUM_NODES
|
||||||
|
|
||||||
.. _CONFIGURE_MP_MAXIMUM_NODES:
|
.. _CONFIGURE_MP_MAXIMUM_NODES:
|
||||||
@ -147,34 +179,43 @@ NOTES:
|
|||||||
CONFIGURE_MP_MAXIMUM_NODES
|
CONFIGURE_MP_MAXIMUM_NODES
|
||||||
--------------------------
|
--------------------------
|
||||||
|
|
||||||
CONSTANT:
|
.. rubric:: CONSTANT:
|
||||||
``CONFIGURE_MP_MAXIMUM_NODES``
|
|
||||||
|
|
||||||
OPTION TYPE:
|
``CONFIGURE_MP_MAXIMUM_NODES``
|
||||||
This configuration option is an integer define.
|
|
||||||
|
|
||||||
DEFAULT VALUE:
|
.. rubric:: OPTION TYPE:
|
||||||
The default value is 2.
|
|
||||||
|
|
||||||
VALUE CONSTRAINTS:
|
This configuration option is an integer define.
|
||||||
The value of this configuration option shall satisfy all of the following
|
|
||||||
constraints:
|
|
||||||
|
|
||||||
* It shall be greater than or equal to zero.
|
.. rubric:: DEFAULT VALUE:
|
||||||
|
|
||||||
* It shall be less than or equal to `UINT32_MAX
|
The default value is 2.
|
||||||
<https://en.cppreference.com/w/c/types/integer>`_.
|
|
||||||
|
|
||||||
DESCRIPTION:
|
.. rubric:: DESCRIPTION:
|
||||||
The value of this configuration option defines the maximum number of nodes in
|
|
||||||
a multiprocessor system.
|
|
||||||
|
|
||||||
NOTES:
|
The value of this configuration option defines the maximum number of nodes in
|
||||||
This configuration option is only evaluated if
|
a multiprocessor system.
|
||||||
:ref:`CONFIGURE_MP_APPLICATION` is defined.
|
|
||||||
|
.. rubric:: NOTES:
|
||||||
|
|
||||||
|
This configuration option is only evaluated if
|
||||||
|
:ref:`CONFIGURE_MP_APPLICATION` is defined.
|
||||||
|
|
||||||
|
.. rubric:: CONSTRAINTS:
|
||||||
|
|
||||||
|
The following constraints apply to this configuration option:
|
||||||
|
|
||||||
|
* The value of the configuration option shall be greater than or equal to zero.
|
||||||
|
|
||||||
|
* The value of the configuration option shall be less than or equal to
|
||||||
|
`UINT32_MAX <https://en.cppreference.com/w/c/types/integer>`_.
|
||||||
|
|
||||||
.. Generated from spec:/acfg/if/mp-max-proxies
|
.. Generated from spec:/acfg/if/mp-max-proxies
|
||||||
|
|
||||||
|
.. raw:: latex
|
||||||
|
|
||||||
|
\clearpage
|
||||||
|
|
||||||
.. index:: CONFIGURE_MP_MAXIMUM_PROXIES
|
.. index:: CONFIGURE_MP_MAXIMUM_PROXIES
|
||||||
|
|
||||||
.. _CONFIGURE_MP_MAXIMUM_PROXIES:
|
.. _CONFIGURE_MP_MAXIMUM_PROXIES:
|
||||||
@ -182,40 +223,49 @@ NOTES:
|
|||||||
CONFIGURE_MP_MAXIMUM_PROXIES
|
CONFIGURE_MP_MAXIMUM_PROXIES
|
||||||
----------------------------
|
----------------------------
|
||||||
|
|
||||||
CONSTANT:
|
.. rubric:: CONSTANT:
|
||||||
``CONFIGURE_MP_MAXIMUM_PROXIES``
|
|
||||||
|
|
||||||
OPTION TYPE:
|
``CONFIGURE_MP_MAXIMUM_PROXIES``
|
||||||
This configuration option is an integer define.
|
|
||||||
|
|
||||||
DEFAULT VALUE:
|
.. rubric:: OPTION TYPE:
|
||||||
The default value is 32.
|
|
||||||
|
|
||||||
VALUE CONSTRAINTS:
|
This configuration option is an integer define.
|
||||||
The value of this configuration option shall satisfy all of the following
|
|
||||||
constraints:
|
|
||||||
|
|
||||||
* It shall be greater than or equal to zero.
|
.. rubric:: DEFAULT VALUE:
|
||||||
|
|
||||||
* It shall be less than or equal to `UINT32_MAX
|
The default value is 32.
|
||||||
<https://en.cppreference.com/w/c/types/integer>`_.
|
|
||||||
|
|
||||||
DESCRIPTION:
|
.. rubric:: DESCRIPTION:
|
||||||
The value of this configuration option defines the maximum number of
|
|
||||||
concurrently active thread/task proxies on this node in a multiprocessor
|
|
||||||
system.
|
|
||||||
|
|
||||||
NOTES:
|
The value of this configuration option defines the maximum number of
|
||||||
Since a proxy is used to represent a remote task/thread which is blocking
|
concurrently active thread/task proxies on this node in a multiprocessor
|
||||||
on this node. This configuration parameter reflects the maximum number of
|
system.
|
||||||
remote tasks/threads which can be blocked on objects on this node, see
|
|
||||||
:ref:`MPCIProxies`.
|
|
||||||
|
|
||||||
This configuration option is only evaluated if
|
.. rubric:: NOTES:
|
||||||
:ref:`CONFIGURE_MP_APPLICATION` is defined.
|
|
||||||
|
Since a proxy is used to represent a remote task/thread which is blocking
|
||||||
|
on this node. This configuration parameter reflects the maximum number of
|
||||||
|
remote tasks/threads which can be blocked on objects on this node, see
|
||||||
|
:ref:`MPCIProxies`.
|
||||||
|
|
||||||
|
This configuration option is only evaluated if
|
||||||
|
:ref:`CONFIGURE_MP_APPLICATION` is defined.
|
||||||
|
|
||||||
|
.. rubric:: CONSTRAINTS:
|
||||||
|
|
||||||
|
The following constraints apply to this configuration option:
|
||||||
|
|
||||||
|
* The value of the configuration option shall be greater than or equal to zero.
|
||||||
|
|
||||||
|
* The value of the configuration option shall be less than or equal to
|
||||||
|
`UINT32_MAX <https://en.cppreference.com/w/c/types/integer>`_.
|
||||||
|
|
||||||
.. Generated from spec:/acfg/if/mp-mpci-table-pointer
|
.. Generated from spec:/acfg/if/mp-mpci-table-pointer
|
||||||
|
|
||||||
|
.. raw:: latex
|
||||||
|
|
||||||
|
\clearpage
|
||||||
|
|
||||||
.. index:: CONFIGURE_MP_MPCI_TABLE_POINTER
|
.. index:: CONFIGURE_MP_MPCI_TABLE_POINTER
|
||||||
|
|
||||||
.. _CONFIGURE_MP_MPCI_TABLE_POINTER:
|
.. _CONFIGURE_MP_MPCI_TABLE_POINTER:
|
||||||
@ -223,33 +273,43 @@ NOTES:
|
|||||||
CONFIGURE_MP_MPCI_TABLE_POINTER
|
CONFIGURE_MP_MPCI_TABLE_POINTER
|
||||||
-------------------------------
|
-------------------------------
|
||||||
|
|
||||||
CONSTANT:
|
.. rubric:: CONSTANT:
|
||||||
``CONFIGURE_MP_MPCI_TABLE_POINTER``
|
|
||||||
|
|
||||||
OPTION TYPE:
|
``CONFIGURE_MP_MPCI_TABLE_POINTER``
|
||||||
This configuration option is an initializer define.
|
|
||||||
|
|
||||||
DEFAULT VALUE:
|
.. rubric:: OPTION TYPE:
|
||||||
The default value is ``&MPCI_table``.
|
|
||||||
|
|
||||||
VALUE CONSTRAINTS:
|
This configuration option is an initializer define.
|
||||||
The value of this configuration option shall be a pointer to
|
|
||||||
:c:type:`rtems_mpci_table`.
|
|
||||||
|
|
||||||
DESCRIPTION:
|
.. rubric:: DEFAULT VALUE:
|
||||||
The value of this configuration option initializes the MPCI Configuration
|
|
||||||
Table.
|
|
||||||
|
|
||||||
NOTES:
|
The default value is ``&MPCI_table``.
|
||||||
RTEMS provides a Shared Memory MPCI Device Driver which can be used on any
|
|
||||||
Multiprocessor System assuming the BSP provides the proper set of
|
|
||||||
supporting methods.
|
|
||||||
|
|
||||||
This configuration option is only evaluated if
|
.. rubric:: DESCRIPTION:
|
||||||
:ref:`CONFIGURE_MP_APPLICATION` is defined.
|
|
||||||
|
The value of this configuration option initializes the MPCI Configuration
|
||||||
|
Table.
|
||||||
|
|
||||||
|
.. rubric:: NOTES:
|
||||||
|
|
||||||
|
RTEMS provides a Shared Memory MPCI Device Driver which can be used on any
|
||||||
|
Multiprocessor System assuming the BSP provides the proper set of
|
||||||
|
supporting methods.
|
||||||
|
|
||||||
|
This configuration option is only evaluated if
|
||||||
|
:ref:`CONFIGURE_MP_APPLICATION` is defined.
|
||||||
|
|
||||||
|
.. rubric:: CONSTRAINTS:
|
||||||
|
|
||||||
|
The value of the configuration option shall be a pointer to
|
||||||
|
:c:type:`rtems_mpci_table`.
|
||||||
|
|
||||||
.. Generated from spec:/acfg/if/mp-node-number
|
.. Generated from spec:/acfg/if/mp-node-number
|
||||||
|
|
||||||
|
.. raw:: latex
|
||||||
|
|
||||||
|
\clearpage
|
||||||
|
|
||||||
.. index:: CONFIGURE_MP_NODE_NUMBER
|
.. index:: CONFIGURE_MP_NODE_NUMBER
|
||||||
|
|
||||||
.. _CONFIGURE_MP_NODE_NUMBER:
|
.. _CONFIGURE_MP_NODE_NUMBER:
|
||||||
@ -257,33 +317,38 @@ NOTES:
|
|||||||
CONFIGURE_MP_NODE_NUMBER
|
CONFIGURE_MP_NODE_NUMBER
|
||||||
------------------------
|
------------------------
|
||||||
|
|
||||||
CONSTANT:
|
.. rubric:: CONSTANT:
|
||||||
``CONFIGURE_MP_NODE_NUMBER``
|
|
||||||
|
|
||||||
OPTION TYPE:
|
``CONFIGURE_MP_NODE_NUMBER``
|
||||||
This configuration option is an integer define.
|
|
||||||
|
|
||||||
DEFAULT VALUE:
|
.. rubric:: OPTION TYPE:
|
||||||
The default value is ``NODE_NUMBER``.
|
|
||||||
|
|
||||||
VALUE CONSTRAINTS:
|
This configuration option is an integer define.
|
||||||
The value of this configuration option shall satisfy all of the following
|
|
||||||
constraints:
|
|
||||||
|
|
||||||
* It shall be greater than or equal to zero.
|
.. rubric:: DEFAULT VALUE:
|
||||||
|
|
||||||
* It shall be less than or equal to `UINT32_MAX
|
The default value is ``NODE_NUMBER``.
|
||||||
<https://en.cppreference.com/w/c/types/integer>`_.
|
|
||||||
|
|
||||||
DESCRIPTION:
|
.. rubric:: DESCRIPTION:
|
||||||
The value of this configuration option defines the node number of this node
|
|
||||||
in a multiprocessor system.
|
|
||||||
|
|
||||||
NOTES:
|
The value of this configuration option defines the node number of this node
|
||||||
In the RTEMS Multiprocessing Test Suite, the node number is derived from
|
in a multiprocessor system.
|
||||||
the Makefile variable ``NODE_NUMBER``. The same code is compiled with the
|
|
||||||
``NODE_NUMBER`` set to different values. The test programs behave
|
|
||||||
differently based upon their node number.
|
|
||||||
|
|
||||||
This configuration option is only evaluated if
|
.. rubric:: NOTES:
|
||||||
:ref:`CONFIGURE_MP_APPLICATION` is defined.
|
|
||||||
|
In the RTEMS Multiprocessing Test Suite, the node number is derived from
|
||||||
|
the Makefile variable ``NODE_NUMBER``. The same code is compiled with the
|
||||||
|
``NODE_NUMBER`` set to different values. The test programs behave
|
||||||
|
differently based upon their node number.
|
||||||
|
|
||||||
|
This configuration option is only evaluated if
|
||||||
|
:ref:`CONFIGURE_MP_APPLICATION` is defined.
|
||||||
|
|
||||||
|
.. rubric:: CONSTRAINTS:
|
||||||
|
|
||||||
|
The following constraints apply to this configuration option:
|
||||||
|
|
||||||
|
* The value of the configuration option shall be greater than or equal to zero.
|
||||||
|
|
||||||
|
* The value of the configuration option shall be less than or equal to
|
||||||
|
`UINT32_MAX <https://en.cppreference.com/w/c/types/integer>`_.
|
||||||
|
@ -30,6 +30,10 @@ build configuration option.
|
|||||||
|
|
||||||
.. Generated from spec:/acfg/if/max-posix-keys
|
.. Generated from spec:/acfg/if/max-posix-keys
|
||||||
|
|
||||||
|
.. raw:: latex
|
||||||
|
|
||||||
|
\clearpage
|
||||||
|
|
||||||
.. index:: CONFIGURE_MAXIMUM_POSIX_KEYS
|
.. index:: CONFIGURE_MAXIMUM_POSIX_KEYS
|
||||||
|
|
||||||
.. _CONFIGURE_MAXIMUM_POSIX_KEYS:
|
.. _CONFIGURE_MAXIMUM_POSIX_KEYS:
|
||||||
@ -37,42 +41,51 @@ build configuration option.
|
|||||||
CONFIGURE_MAXIMUM_POSIX_KEYS
|
CONFIGURE_MAXIMUM_POSIX_KEYS
|
||||||
----------------------------
|
----------------------------
|
||||||
|
|
||||||
CONSTANT:
|
.. rubric:: CONSTANT:
|
||||||
``CONFIGURE_MAXIMUM_POSIX_KEYS``
|
|
||||||
|
|
||||||
OPTION TYPE:
|
``CONFIGURE_MAXIMUM_POSIX_KEYS``
|
||||||
This configuration option is an integer define.
|
|
||||||
|
|
||||||
DEFAULT VALUE:
|
.. rubric:: OPTION TYPE:
|
||||||
The default value is 0.
|
|
||||||
|
|
||||||
VALUE CONSTRAINTS:
|
This configuration option is an integer define.
|
||||||
The value of this configuration option shall satisfy all of the following
|
|
||||||
constraints:
|
|
||||||
|
|
||||||
* It shall be greater than or equal to zero.
|
.. rubric:: DEFAULT VALUE:
|
||||||
|
|
||||||
* It shall be less than or equal to 65535.
|
The default value is 0.
|
||||||
|
|
||||||
* It shall be less than or equal to a BSP-specific and application-specific
|
.. rubric:: DESCRIPTION:
|
||||||
value which depends on the size of the memory available to the
|
|
||||||
application.
|
|
||||||
|
|
||||||
* It may be defined through :c:func:`rtems_resource_unlimited` the enable
|
The value of this configuration option defines the maximum number of POSIX
|
||||||
unlimited objects for the object class, if the value passed to
|
API Keys that can be concurrently active.
|
||||||
:c:func:`rtems_resource_unlimited` satisfies all other constraints of the
|
|
||||||
configuration option.
|
|
||||||
|
|
||||||
DESCRIPTION:
|
.. rubric:: NOTES:
|
||||||
The value of this configuration option defines the maximum number of POSIX
|
|
||||||
API Keys that can be concurrently active.
|
|
||||||
|
|
||||||
NOTES:
|
This object class can be configured in unlimited allocation mode, see
|
||||||
This object class can be configured in unlimited allocation mode, see
|
:ref:`ConfigUnlimitedObjects`.
|
||||||
:ref:`ConfigUnlimitedObjects`.
|
|
||||||
|
.. rubric:: CONSTRAINTS:
|
||||||
|
|
||||||
|
The following constraints apply to this configuration option:
|
||||||
|
|
||||||
|
* The value of the configuration option shall be greater than or equal to zero.
|
||||||
|
|
||||||
|
* The value of the configuration option shall be less than or equal to 65535.
|
||||||
|
|
||||||
|
* The value of the configuration option shall be less than or equal to a
|
||||||
|
BSP-specific and application-specific value which depends on the size of the
|
||||||
|
memory available to the application.
|
||||||
|
|
||||||
|
* The value of the configuration option may be defined through
|
||||||
|
:c:func:`rtems_resource_unlimited` the enable unlimited objects for the
|
||||||
|
object class, if the value passed to :c:func:`rtems_resource_unlimited`
|
||||||
|
satisfies all other constraints of the configuration option.
|
||||||
|
|
||||||
.. Generated from spec:/acfg/if/max-posix-key-value-pairs
|
.. Generated from spec:/acfg/if/max-posix-key-value-pairs
|
||||||
|
|
||||||
|
.. raw:: latex
|
||||||
|
|
||||||
|
\clearpage
|
||||||
|
|
||||||
.. index:: CONFIGURE_MAXIMUM_POSIX_KEY_VALUE_PAIRS
|
.. index:: CONFIGURE_MAXIMUM_POSIX_KEY_VALUE_PAIRS
|
||||||
|
|
||||||
.. _CONFIGURE_MAXIMUM_POSIX_KEY_VALUE_PAIRS:
|
.. _CONFIGURE_MAXIMUM_POSIX_KEY_VALUE_PAIRS:
|
||||||
@ -80,48 +93,57 @@ NOTES:
|
|||||||
CONFIGURE_MAXIMUM_POSIX_KEY_VALUE_PAIRS
|
CONFIGURE_MAXIMUM_POSIX_KEY_VALUE_PAIRS
|
||||||
---------------------------------------
|
---------------------------------------
|
||||||
|
|
||||||
CONSTANT:
|
.. rubric:: CONSTANT:
|
||||||
``CONFIGURE_MAXIMUM_POSIX_KEY_VALUE_PAIRS``
|
|
||||||
|
|
||||||
OPTION TYPE:
|
``CONFIGURE_MAXIMUM_POSIX_KEY_VALUE_PAIRS``
|
||||||
This configuration option is an integer define.
|
|
||||||
|
|
||||||
DEFAULT VALUE:
|
.. rubric:: OPTION TYPE:
|
||||||
The default value is
|
|
||||||
:ref:`CONFIGURE_MAXIMUM_POSIX_KEYS` *
|
|
||||||
( :ref:`CONFIGURE_MAXIMUM_TASKS` +
|
|
||||||
:ref:`CONFIGURE_MAXIMUM_POSIX_THREADS` ).
|
|
||||||
|
|
||||||
VALUE CONSTRAINTS:
|
This configuration option is an integer define.
|
||||||
The value of this configuration option shall satisfy all of the following
|
|
||||||
constraints:
|
|
||||||
|
|
||||||
* It shall be greater than or equal to zero.
|
.. rubric:: DEFAULT VALUE:
|
||||||
|
|
||||||
* It shall be less than or equal to 65535.
|
The default value is
|
||||||
|
:ref:`CONFIGURE_MAXIMUM_POSIX_KEYS` *
|
||||||
|
( :ref:`CONFIGURE_MAXIMUM_TASKS` +
|
||||||
|
:ref:`CONFIGURE_MAXIMUM_POSIX_THREADS` ).
|
||||||
|
|
||||||
* It shall be less than or equal to a BSP-specific and application-specific
|
.. rubric:: DESCRIPTION:
|
||||||
value which depends on the size of the memory available to the
|
|
||||||
application.
|
|
||||||
|
|
||||||
* It may be defined through :c:func:`rtems_resource_unlimited` the enable
|
The value of this configuration option defines the maximum number of key
|
||||||
unlimited objects for the object class, if the value passed to
|
value pairs used by POSIX API Keys that can be concurrently active.
|
||||||
:c:func:`rtems_resource_unlimited` satisfies all other constraints of the
|
|
||||||
configuration option.
|
|
||||||
|
|
||||||
DESCRIPTION:
|
.. rubric:: NOTES:
|
||||||
The value of this configuration option defines the maximum number of key
|
|
||||||
value pairs used by POSIX API Keys that can be concurrently active.
|
|
||||||
|
|
||||||
NOTES:
|
This object class can be configured in unlimited allocation mode, see
|
||||||
This object class can be configured in unlimited allocation mode, see
|
:ref:`ConfigUnlimitedObjects`.
|
||||||
:ref:`ConfigUnlimitedObjects`.
|
|
||||||
|
|
||||||
A key value pair is created by :c:func:`pthread_setspecific` if the value
|
A key value pair is created by :c:func:`pthread_setspecific` if the value
|
||||||
is not `NULL <https://en.cppreference.com/w/c/types/NULL>`_, otherwise it is deleted.
|
is not `NULL <https://en.cppreference.com/w/c/types/NULL>`_, otherwise it is deleted.
|
||||||
|
|
||||||
|
.. rubric:: CONSTRAINTS:
|
||||||
|
|
||||||
|
The following constraints apply to this configuration option:
|
||||||
|
|
||||||
|
* The value of the configuration option shall be greater than or equal to zero.
|
||||||
|
|
||||||
|
* The value of the configuration option shall be less than or equal to 65535.
|
||||||
|
|
||||||
|
* The value of the configuration option shall be less than or equal to a
|
||||||
|
BSP-specific and application-specific value which depends on the size of the
|
||||||
|
memory available to the application.
|
||||||
|
|
||||||
|
* The value of the configuration option may be defined through
|
||||||
|
:c:func:`rtems_resource_unlimited` the enable unlimited objects for the
|
||||||
|
object class, if the value passed to :c:func:`rtems_resource_unlimited`
|
||||||
|
satisfies all other constraints of the configuration option.
|
||||||
|
|
||||||
.. Generated from spec:/acfg/if/max-posix-message-queues
|
.. Generated from spec:/acfg/if/max-posix-message-queues
|
||||||
|
|
||||||
|
.. raw:: latex
|
||||||
|
|
||||||
|
\clearpage
|
||||||
|
|
||||||
.. index:: CONFIGURE_MAXIMUM_POSIX_MESSAGE_QUEUES
|
.. index:: CONFIGURE_MAXIMUM_POSIX_MESSAGE_QUEUES
|
||||||
|
|
||||||
.. _CONFIGURE_MAXIMUM_POSIX_MESSAGE_QUEUES:
|
.. _CONFIGURE_MAXIMUM_POSIX_MESSAGE_QUEUES:
|
||||||
@ -129,48 +151,58 @@ NOTES:
|
|||||||
CONFIGURE_MAXIMUM_POSIX_MESSAGE_QUEUES
|
CONFIGURE_MAXIMUM_POSIX_MESSAGE_QUEUES
|
||||||
--------------------------------------
|
--------------------------------------
|
||||||
|
|
||||||
CONSTANT:
|
.. rubric:: CONSTANT:
|
||||||
``CONFIGURE_MAXIMUM_POSIX_MESSAGE_QUEUES``
|
|
||||||
|
|
||||||
OPTION TYPE:
|
``CONFIGURE_MAXIMUM_POSIX_MESSAGE_QUEUES``
|
||||||
This configuration option is an integer define.
|
|
||||||
|
|
||||||
DEFAULT VALUE:
|
.. rubric:: OPTION TYPE:
|
||||||
The default value is 0.
|
|
||||||
|
|
||||||
VALUE CONSTRAINTS:
|
This configuration option is an integer define.
|
||||||
The value of this configuration option shall satisfy all of the following
|
|
||||||
constraints:
|
|
||||||
|
|
||||||
* It shall be greater than or equal to zero.
|
.. rubric:: DEFAULT VALUE:
|
||||||
|
|
||||||
* It shall be less than or equal to 65535.
|
The default value is 0.
|
||||||
|
|
||||||
* It shall be less than or equal to a BSP-specific and application-specific
|
.. rubric:: DESCRIPTION:
|
||||||
value which depends on the size of the memory available to the
|
|
||||||
application.
|
|
||||||
|
|
||||||
* It shall be small enough so that the RTEMS Workspace size calculation
|
The value of this configuration option defines the maximum number of POSIX
|
||||||
carried out by ``<rtems/confdefs.h>`` does not overflow an integer of
|
API Message Queues that can be concurrently active.
|
||||||
type `uintptr_t <https://en.cppreference.com/w/c/types/integer>`_.
|
|
||||||
|
|
||||||
* It may be defined through :c:func:`rtems_resource_unlimited` the enable
|
.. rubric:: NOTES:
|
||||||
unlimited objects for the object class, if the value passed to
|
|
||||||
:c:func:`rtems_resource_unlimited` satisfies all other constraints of the
|
|
||||||
configuration option.
|
|
||||||
|
|
||||||
DESCRIPTION:
|
This object class can be configured in unlimited allocation mode, see
|
||||||
The value of this configuration option defines the maximum number of POSIX
|
:ref:`ConfigUnlimitedObjects`. You have to account for the memory used to
|
||||||
API Message Queues that can be concurrently active.
|
store the messages of each message queue, see
|
||||||
|
:ref:`CONFIGURE_MESSAGE_BUFFER_MEMORY`.
|
||||||
|
|
||||||
NOTES:
|
.. rubric:: CONSTRAINTS:
|
||||||
This object class can be configured in unlimited allocation mode, see
|
|
||||||
:ref:`ConfigUnlimitedObjects`. You have to account for the memory used to
|
The following constraints apply to this configuration option:
|
||||||
store the messages of each message queue, see
|
|
||||||
:ref:`CONFIGURE_MESSAGE_BUFFER_MEMORY`.
|
* The value of the configuration option shall be greater than or equal to zero.
|
||||||
|
|
||||||
|
* The value of the configuration option shall be less than or equal to 65535.
|
||||||
|
|
||||||
|
* The value of the configuration option shall be less than or equal to a
|
||||||
|
BSP-specific and application-specific value which depends on the size of the
|
||||||
|
memory available to the application.
|
||||||
|
|
||||||
|
* The value of the configuration option shall be small enough so that the RTEMS
|
||||||
|
Workspace size calculation carried out by ``<rtems/confdefs.h>`` does not
|
||||||
|
overflow an integer of type `uintptr_t
|
||||||
|
<https://en.cppreference.com/w/c/types/integer>`_.
|
||||||
|
|
||||||
|
* The value of the configuration option may be defined through
|
||||||
|
:c:func:`rtems_resource_unlimited` the enable unlimited objects for the
|
||||||
|
object class, if the value passed to :c:func:`rtems_resource_unlimited`
|
||||||
|
satisfies all other constraints of the configuration option.
|
||||||
|
|
||||||
.. Generated from spec:/acfg/if/max-posix-queued-signals
|
.. Generated from spec:/acfg/if/max-posix-queued-signals
|
||||||
|
|
||||||
|
.. raw:: latex
|
||||||
|
|
||||||
|
\clearpage
|
||||||
|
|
||||||
.. index:: CONFIGURE_MAXIMUM_POSIX_QUEUED_SIGNALS
|
.. index:: CONFIGURE_MAXIMUM_POSIX_QUEUED_SIGNALS
|
||||||
|
|
||||||
.. _CONFIGURE_MAXIMUM_POSIX_QUEUED_SIGNALS:
|
.. _CONFIGURE_MAXIMUM_POSIX_QUEUED_SIGNALS:
|
||||||
@ -178,45 +210,56 @@ NOTES:
|
|||||||
CONFIGURE_MAXIMUM_POSIX_QUEUED_SIGNALS
|
CONFIGURE_MAXIMUM_POSIX_QUEUED_SIGNALS
|
||||||
--------------------------------------
|
--------------------------------------
|
||||||
|
|
||||||
CONSTANT:
|
.. rubric:: CONSTANT:
|
||||||
``CONFIGURE_MAXIMUM_POSIX_QUEUED_SIGNALS``
|
|
||||||
|
|
||||||
OPTION TYPE:
|
``CONFIGURE_MAXIMUM_POSIX_QUEUED_SIGNALS``
|
||||||
This configuration option is an integer define.
|
|
||||||
|
|
||||||
DEFAULT VALUE:
|
.. rubric:: OPTION TYPE:
|
||||||
The default value is 0.
|
|
||||||
|
|
||||||
VALUE CONSTRAINTS:
|
This configuration option is an integer define.
|
||||||
The value of this configuration option shall satisfy all of the following
|
|
||||||
constraints:
|
|
||||||
|
|
||||||
* It shall be greater than or equal to zero.
|
.. rubric:: DEFAULT VALUE:
|
||||||
|
|
||||||
* It shall be less than or equal to a BSP-specific and application-specific
|
The default value is 0.
|
||||||
value which depends on the size of the memory available to the
|
|
||||||
application.
|
|
||||||
|
|
||||||
* It shall be small enough so that the RTEMS Workspace size calculation
|
.. rubric:: DESCRIPTION:
|
||||||
carried out by ``<rtems/confdefs.h>`` does not overflow an integer of
|
|
||||||
type `uintptr_t <https://en.cppreference.com/w/c/types/integer>`_.
|
|
||||||
|
|
||||||
* It shall be zero if the POSIX API is not enabled (e.g. RTEMS was built
|
The value of this configuration option defines the maximum number of POSIX
|
||||||
without the ``RTEMS_POSIX_API = True`` build configuration option).
|
API Queued Signals that can be concurrently active.
|
||||||
Otherwise a compile time error in the configuration file will occur.
|
|
||||||
|
|
||||||
DESCRIPTION:
|
.. rubric:: NOTES:
|
||||||
The value of this configuration option defines the maximum number of POSIX
|
|
||||||
API Queued Signals that can be concurrently active.
|
|
||||||
|
|
||||||
NOTES:
|
Unlimited objects are not available for queued signals.
|
||||||
Unlimited objects are not available for queued signals.
|
|
||||||
|
|
||||||
Queued signals are only available if RTEMS was built with the
|
Queued signals are only available if RTEMS was built with the
|
||||||
``--enable-posix`` build configuration option.
|
``--enable-posix`` build configuration option.
|
||||||
|
|
||||||
|
.. rubric:: CONSTRAINTS:
|
||||||
|
|
||||||
|
The following constraints apply to this configuration option:
|
||||||
|
|
||||||
|
* The value of the configuration option shall be greater than or equal to zero.
|
||||||
|
|
||||||
|
* The value of the configuration option shall be less than or equal to a
|
||||||
|
BSP-specific and application-specific value which depends on the size of the
|
||||||
|
memory available to the application.
|
||||||
|
|
||||||
|
* The value of the configuration option shall be small enough so that the RTEMS
|
||||||
|
Workspace size calculation carried out by ``<rtems/confdefs.h>`` does not
|
||||||
|
overflow an integer of type `uintptr_t
|
||||||
|
<https://en.cppreference.com/w/c/types/integer>`_.
|
||||||
|
|
||||||
|
* The value of the configuration option shall be zero if the POSIX API is not
|
||||||
|
enabled (e.g. RTEMS was built without the ``RTEMS_POSIX_API = True`` build
|
||||||
|
configuration option). Otherwise a compile time error in the configuration
|
||||||
|
file will occur.
|
||||||
|
|
||||||
.. Generated from spec:/acfg/if/max-posix-semaphores
|
.. Generated from spec:/acfg/if/max-posix-semaphores
|
||||||
|
|
||||||
|
.. raw:: latex
|
||||||
|
|
||||||
|
\clearpage
|
||||||
|
|
||||||
.. index:: CONFIGURE_MAXIMUM_POSIX_SEMAPHORES
|
.. index:: CONFIGURE_MAXIMUM_POSIX_SEMAPHORES
|
||||||
|
|
||||||
.. _CONFIGURE_MAXIMUM_POSIX_SEMAPHORES:
|
.. _CONFIGURE_MAXIMUM_POSIX_SEMAPHORES:
|
||||||
@ -224,51 +267,61 @@ NOTES:
|
|||||||
CONFIGURE_MAXIMUM_POSIX_SEMAPHORES
|
CONFIGURE_MAXIMUM_POSIX_SEMAPHORES
|
||||||
----------------------------------
|
----------------------------------
|
||||||
|
|
||||||
CONSTANT:
|
.. rubric:: CONSTANT:
|
||||||
``CONFIGURE_MAXIMUM_POSIX_SEMAPHORES``
|
|
||||||
|
|
||||||
OPTION TYPE:
|
``CONFIGURE_MAXIMUM_POSIX_SEMAPHORES``
|
||||||
This configuration option is an integer define.
|
|
||||||
|
|
||||||
DEFAULT VALUE:
|
.. rubric:: OPTION TYPE:
|
||||||
The default value is 0.
|
|
||||||
|
|
||||||
VALUE CONSTRAINTS:
|
This configuration option is an integer define.
|
||||||
The value of this configuration option shall satisfy all of the following
|
|
||||||
constraints:
|
|
||||||
|
|
||||||
* It shall be greater than or equal to zero.
|
.. rubric:: DEFAULT VALUE:
|
||||||
|
|
||||||
* It shall be less than or equal to 65535.
|
The default value is 0.
|
||||||
|
|
||||||
* It shall be less than or equal to a BSP-specific and application-specific
|
.. rubric:: DESCRIPTION:
|
||||||
value which depends on the size of the memory available to the
|
|
||||||
application.
|
|
||||||
|
|
||||||
* It shall be small enough so that the RTEMS Workspace size calculation
|
The value of this configuration option defines the maximum number of POSIX
|
||||||
carried out by ``<rtems/confdefs.h>`` does not overflow an integer of
|
API Named Semaphores that can be concurrently active.
|
||||||
type `uintptr_t <https://en.cppreference.com/w/c/types/integer>`_.
|
|
||||||
|
|
||||||
* It may be defined through :c:func:`rtems_resource_unlimited` the enable
|
.. rubric:: NOTES:
|
||||||
unlimited objects for the object class, if the value passed to
|
|
||||||
:c:func:`rtems_resource_unlimited` satisfies all other constraints of the
|
|
||||||
configuration option.
|
|
||||||
|
|
||||||
DESCRIPTION:
|
This object class can be configured in unlimited allocation mode, see
|
||||||
The value of this configuration option defines the maximum number of POSIX
|
:ref:`ConfigUnlimitedObjects`.
|
||||||
API Named Semaphores that can be concurrently active.
|
|
||||||
|
|
||||||
NOTES:
|
Named semaphores are created with :c:func:`sem_open`. Semaphores
|
||||||
This object class can be configured in unlimited allocation mode, see
|
initialized with :c:func:`sem_init` are not affected by this
|
||||||
:ref:`ConfigUnlimitedObjects`.
|
configuration option since the storage space for these semaphores is
|
||||||
|
user-provided.
|
||||||
|
|
||||||
Named semaphores are created with :c:func:`sem_open`. Semaphores
|
.. rubric:: CONSTRAINTS:
|
||||||
initialized with :c:func:`sem_init` are not affected by this
|
|
||||||
configuration option since the storage space for these semaphores is
|
The following constraints apply to this configuration option:
|
||||||
user-provided.
|
|
||||||
|
* The value of the configuration option shall be greater than or equal to zero.
|
||||||
|
|
||||||
|
* The value of the configuration option shall be less than or equal to 65535.
|
||||||
|
|
||||||
|
* The value of the configuration option shall be less than or equal to a
|
||||||
|
BSP-specific and application-specific value which depends on the size of the
|
||||||
|
memory available to the application.
|
||||||
|
|
||||||
|
* The value of the configuration option shall be small enough so that the RTEMS
|
||||||
|
Workspace size calculation carried out by ``<rtems/confdefs.h>`` does not
|
||||||
|
overflow an integer of type `uintptr_t
|
||||||
|
<https://en.cppreference.com/w/c/types/integer>`_.
|
||||||
|
|
||||||
|
* The value of the configuration option may be defined through
|
||||||
|
:c:func:`rtems_resource_unlimited` the enable unlimited objects for the
|
||||||
|
object class, if the value passed to :c:func:`rtems_resource_unlimited`
|
||||||
|
satisfies all other constraints of the configuration option.
|
||||||
|
|
||||||
.. Generated from spec:/acfg/if/max-posix-shms
|
.. Generated from spec:/acfg/if/max-posix-shms
|
||||||
|
|
||||||
|
.. raw:: latex
|
||||||
|
|
||||||
|
\clearpage
|
||||||
|
|
||||||
.. index:: CONFIGURE_MAXIMUM_POSIX_SHMS
|
.. index:: CONFIGURE_MAXIMUM_POSIX_SHMS
|
||||||
|
|
||||||
.. _CONFIGURE_MAXIMUM_POSIX_SHMS:
|
.. _CONFIGURE_MAXIMUM_POSIX_SHMS:
|
||||||
@ -276,46 +329,56 @@ NOTES:
|
|||||||
CONFIGURE_MAXIMUM_POSIX_SHMS
|
CONFIGURE_MAXIMUM_POSIX_SHMS
|
||||||
----------------------------
|
----------------------------
|
||||||
|
|
||||||
CONSTANT:
|
.. rubric:: CONSTANT:
|
||||||
``CONFIGURE_MAXIMUM_POSIX_SHMS``
|
|
||||||
|
|
||||||
OPTION TYPE:
|
``CONFIGURE_MAXIMUM_POSIX_SHMS``
|
||||||
This configuration option is an integer define.
|
|
||||||
|
|
||||||
DEFAULT VALUE:
|
.. rubric:: OPTION TYPE:
|
||||||
The default value is 0.
|
|
||||||
|
|
||||||
VALUE CONSTRAINTS:
|
This configuration option is an integer define.
|
||||||
The value of this configuration option shall satisfy all of the following
|
|
||||||
constraints:
|
|
||||||
|
|
||||||
* It shall be greater than or equal to zero.
|
.. rubric:: DEFAULT VALUE:
|
||||||
|
|
||||||
* It shall be less than or equal to 65535.
|
The default value is 0.
|
||||||
|
|
||||||
* It shall be less than or equal to a BSP-specific and application-specific
|
.. rubric:: DESCRIPTION:
|
||||||
value which depends on the size of the memory available to the
|
|
||||||
application.
|
|
||||||
|
|
||||||
* It shall be small enough so that the RTEMS Workspace size calculation
|
The value of this configuration option defines the maximum number of POSIX
|
||||||
carried out by ``<rtems/confdefs.h>`` does not overflow an integer of
|
API Shared Memory objects that can be concurrently active.
|
||||||
type `uintptr_t <https://en.cppreference.com/w/c/types/integer>`_.
|
|
||||||
|
|
||||||
* It may be defined through :c:func:`rtems_resource_unlimited` the enable
|
.. rubric:: NOTES:
|
||||||
unlimited objects for the object class, if the value passed to
|
|
||||||
:c:func:`rtems_resource_unlimited` satisfies all other constraints of the
|
|
||||||
configuration option.
|
|
||||||
|
|
||||||
DESCRIPTION:
|
This object class can be configured in unlimited allocation mode, see
|
||||||
The value of this configuration option defines the maximum number of POSIX
|
:ref:`ConfigUnlimitedObjects`.
|
||||||
API Shared Memory objects that can be concurrently active.
|
|
||||||
|
|
||||||
NOTES:
|
.. rubric:: CONSTRAINTS:
|
||||||
This object class can be configured in unlimited allocation mode, see
|
|
||||||
:ref:`ConfigUnlimitedObjects`.
|
The following constraints apply to this configuration option:
|
||||||
|
|
||||||
|
* The value of the configuration option shall be greater than or equal to zero.
|
||||||
|
|
||||||
|
* The value of the configuration option shall be less than or equal to 65535.
|
||||||
|
|
||||||
|
* The value of the configuration option shall be less than or equal to a
|
||||||
|
BSP-specific and application-specific value which depends on the size of the
|
||||||
|
memory available to the application.
|
||||||
|
|
||||||
|
* The value of the configuration option shall be small enough so that the RTEMS
|
||||||
|
Workspace size calculation carried out by ``<rtems/confdefs.h>`` does not
|
||||||
|
overflow an integer of type `uintptr_t
|
||||||
|
<https://en.cppreference.com/w/c/types/integer>`_.
|
||||||
|
|
||||||
|
* The value of the configuration option may be defined through
|
||||||
|
:c:func:`rtems_resource_unlimited` the enable unlimited objects for the
|
||||||
|
object class, if the value passed to :c:func:`rtems_resource_unlimited`
|
||||||
|
satisfies all other constraints of the configuration option.
|
||||||
|
|
||||||
.. Generated from spec:/acfg/if/max-posix-threads
|
.. Generated from spec:/acfg/if/max-posix-threads
|
||||||
|
|
||||||
|
.. raw:: latex
|
||||||
|
|
||||||
|
\clearpage
|
||||||
|
|
||||||
.. index:: CONFIGURE_MAXIMUM_POSIX_THREADS
|
.. index:: CONFIGURE_MAXIMUM_POSIX_THREADS
|
||||||
|
|
||||||
.. _CONFIGURE_MAXIMUM_POSIX_THREADS:
|
.. _CONFIGURE_MAXIMUM_POSIX_THREADS:
|
||||||
@ -323,51 +386,61 @@ NOTES:
|
|||||||
CONFIGURE_MAXIMUM_POSIX_THREADS
|
CONFIGURE_MAXIMUM_POSIX_THREADS
|
||||||
-------------------------------
|
-------------------------------
|
||||||
|
|
||||||
CONSTANT:
|
.. rubric:: CONSTANT:
|
||||||
``CONFIGURE_MAXIMUM_POSIX_THREADS``
|
|
||||||
|
|
||||||
OPTION TYPE:
|
``CONFIGURE_MAXIMUM_POSIX_THREADS``
|
||||||
This configuration option is an integer define.
|
|
||||||
|
|
||||||
DEFAULT VALUE:
|
.. rubric:: OPTION TYPE:
|
||||||
The default value is 0.
|
|
||||||
|
|
||||||
VALUE CONSTRAINTS:
|
This configuration option is an integer define.
|
||||||
The value of this configuration option shall satisfy all of the following
|
|
||||||
constraints:
|
|
||||||
|
|
||||||
* It shall be greater than or equal to zero.
|
.. rubric:: DEFAULT VALUE:
|
||||||
|
|
||||||
* It shall be less than or equal to 65535.
|
The default value is 0.
|
||||||
|
|
||||||
* It shall be less than or equal to a BSP-specific and application-specific
|
.. rubric:: DESCRIPTION:
|
||||||
value which depends on the size of the memory available to the
|
|
||||||
application.
|
|
||||||
|
|
||||||
* It shall be small enough so that the task stack space calculation carried
|
The value of this configuration option defines the maximum number of POSIX
|
||||||
out by ``<rtems/confdefs.h>`` does not overflow an integer of type
|
API Threads that can be concurrently active.
|
||||||
`uintptr_t <https://en.cppreference.com/w/c/types/integer>`_.
|
|
||||||
|
|
||||||
DESCRIPTION:
|
.. rubric:: NOTES:
|
||||||
The value of this configuration option defines the maximum number of POSIX
|
|
||||||
API Threads that can be concurrently active.
|
|
||||||
|
|
||||||
NOTES:
|
This object class can be configured in unlimited allocation mode, see
|
||||||
This object class can be configured in unlimited allocation mode, see
|
:ref:`ConfigUnlimitedObjects`.
|
||||||
:ref:`ConfigUnlimitedObjects`.
|
|
||||||
|
|
||||||
This calculations for the required memory in the RTEMS Workspace for threads
|
This calculations for the required memory in the RTEMS Workspace for threads
|
||||||
assume that each thread has a minimum stack size and has floating point
|
assume that each thread has a minimum stack size and has floating point
|
||||||
support enabled. The configuration option :ref:`CONFIGURE_EXTRA_TASK_STACKS` is used
|
support enabled. The configuration option :ref:`CONFIGURE_EXTRA_TASK_STACKS` is used
|
||||||
to specify thread stack requirements **above** the minimum size required.
|
to specify thread stack requirements **above** the minimum size required.
|
||||||
|
|
||||||
The maximum number of Classic API Tasks is specified by
|
The maximum number of Classic API Tasks is specified by
|
||||||
:ref:`CONFIGURE_MAXIMUM_TASKS`.
|
:ref:`CONFIGURE_MAXIMUM_TASKS`.
|
||||||
|
|
||||||
All POSIX threads have floating point enabled.
|
All POSIX threads have floating point enabled.
|
||||||
|
|
||||||
|
.. rubric:: CONSTRAINTS:
|
||||||
|
|
||||||
|
The following constraints apply to this configuration option:
|
||||||
|
|
||||||
|
* The value of the configuration option shall be greater than or equal to zero.
|
||||||
|
|
||||||
|
* The value of the configuration option shall be less than or equal to 65535.
|
||||||
|
|
||||||
|
* The value of the configuration option shall be less than or equal to a
|
||||||
|
BSP-specific and application-specific value which depends on the size of the
|
||||||
|
memory available to the application.
|
||||||
|
|
||||||
|
* The value of the configuration option shall be small enough so that the task
|
||||||
|
stack space calculation carried out by ``<rtems/confdefs.h>`` does not
|
||||||
|
overflow an integer of type `uintptr_t
|
||||||
|
<https://en.cppreference.com/w/c/types/integer>`_.
|
||||||
|
|
||||||
.. Generated from spec:/acfg/if/max-posix-timers
|
.. Generated from spec:/acfg/if/max-posix-timers
|
||||||
|
|
||||||
|
.. raw:: latex
|
||||||
|
|
||||||
|
\clearpage
|
||||||
|
|
||||||
.. index:: CONFIGURE_MAXIMUM_POSIX_TIMERS
|
.. index:: CONFIGURE_MAXIMUM_POSIX_TIMERS
|
||||||
|
|
||||||
.. _CONFIGURE_MAXIMUM_POSIX_TIMERS:
|
.. _CONFIGURE_MAXIMUM_POSIX_TIMERS:
|
||||||
@ -375,49 +448,59 @@ NOTES:
|
|||||||
CONFIGURE_MAXIMUM_POSIX_TIMERS
|
CONFIGURE_MAXIMUM_POSIX_TIMERS
|
||||||
------------------------------
|
------------------------------
|
||||||
|
|
||||||
CONSTANT:
|
.. rubric:: CONSTANT:
|
||||||
``CONFIGURE_MAXIMUM_POSIX_TIMERS``
|
|
||||||
|
|
||||||
OPTION TYPE:
|
``CONFIGURE_MAXIMUM_POSIX_TIMERS``
|
||||||
This configuration option is an integer define.
|
|
||||||
|
|
||||||
DEFAULT VALUE:
|
.. rubric:: OPTION TYPE:
|
||||||
The default value is 0.
|
|
||||||
|
|
||||||
VALUE CONSTRAINTS:
|
This configuration option is an integer define.
|
||||||
The value of this configuration option shall satisfy all of the following
|
|
||||||
constraints:
|
|
||||||
|
|
||||||
* It shall be greater than or equal to zero.
|
.. rubric:: DEFAULT VALUE:
|
||||||
|
|
||||||
* It shall be less than or equal to 65535.
|
The default value is 0.
|
||||||
|
|
||||||
* It shall be less than or equal to a BSP-specific and application-specific
|
.. rubric:: DESCRIPTION:
|
||||||
value which depends on the size of the memory available to the
|
|
||||||
application.
|
|
||||||
|
|
||||||
* It may be defined through :c:func:`rtems_resource_unlimited` the enable
|
The value of this configuration option defines the maximum number of POSIX
|
||||||
unlimited objects for the object class, if the value passed to
|
API Timers that can be concurrently active.
|
||||||
:c:func:`rtems_resource_unlimited` satisfies all other constraints of the
|
|
||||||
configuration option.
|
|
||||||
|
|
||||||
* It shall be zero if the POSIX API is not enabled (e.g. RTEMS was built
|
.. rubric:: NOTES:
|
||||||
without the ``RTEMS_POSIX_API = True`` build configuration option).
|
|
||||||
Otherwise a compile time error in the configuration file will occur.
|
|
||||||
|
|
||||||
DESCRIPTION:
|
This object class can be configured in unlimited allocation mode, see
|
||||||
The value of this configuration option defines the maximum number of POSIX
|
:ref:`ConfigUnlimitedObjects`.
|
||||||
API Timers that can be concurrently active.
|
|
||||||
|
|
||||||
NOTES:
|
Timers are only available if RTEMS was built with the
|
||||||
This object class can be configured in unlimited allocation mode, see
|
``--enable-posix`` build configuration option.
|
||||||
:ref:`ConfigUnlimitedObjects`.
|
|
||||||
|
|
||||||
Timers are only available if RTEMS was built with the
|
.. rubric:: CONSTRAINTS:
|
||||||
``--enable-posix`` build configuration option.
|
|
||||||
|
The following constraints apply to this configuration option:
|
||||||
|
|
||||||
|
* The value of the configuration option shall be greater than or equal to zero.
|
||||||
|
|
||||||
|
* The value of the configuration option shall be less than or equal to 65535.
|
||||||
|
|
||||||
|
* The value of the configuration option shall be less than or equal to a
|
||||||
|
BSP-specific and application-specific value which depends on the size of the
|
||||||
|
memory available to the application.
|
||||||
|
|
||||||
|
* The value of the configuration option may be defined through
|
||||||
|
:c:func:`rtems_resource_unlimited` the enable unlimited objects for the
|
||||||
|
object class, if the value passed to :c:func:`rtems_resource_unlimited`
|
||||||
|
satisfies all other constraints of the configuration option.
|
||||||
|
|
||||||
|
* The value of the configuration option shall be zero if the POSIX API is not
|
||||||
|
enabled (e.g. RTEMS was built without the ``RTEMS_POSIX_API = True`` build
|
||||||
|
configuration option). Otherwise a compile time error in the configuration
|
||||||
|
file will occur.
|
||||||
|
|
||||||
.. Generated from spec:/acfg/if/min-posix-thread-stack-size
|
.. Generated from spec:/acfg/if/min-posix-thread-stack-size
|
||||||
|
|
||||||
|
.. raw:: latex
|
||||||
|
|
||||||
|
\clearpage
|
||||||
|
|
||||||
.. index:: CONFIGURE_MINIMUM_POSIX_THREAD_STACK_SIZE
|
.. index:: CONFIGURE_MINIMUM_POSIX_THREAD_STACK_SIZE
|
||||||
.. index:: minimum POSIX thread stack size
|
.. index:: minimum POSIX thread stack size
|
||||||
|
|
||||||
@ -426,30 +509,32 @@ NOTES:
|
|||||||
CONFIGURE_MINIMUM_POSIX_THREAD_STACK_SIZE
|
CONFIGURE_MINIMUM_POSIX_THREAD_STACK_SIZE
|
||||||
-----------------------------------------
|
-----------------------------------------
|
||||||
|
|
||||||
CONSTANT:
|
.. rubric:: CONSTANT:
|
||||||
``CONFIGURE_MINIMUM_POSIX_THREAD_STACK_SIZE``
|
|
||||||
|
|
||||||
OPTION TYPE:
|
``CONFIGURE_MINIMUM_POSIX_THREAD_STACK_SIZE``
|
||||||
This configuration option is an integer define.
|
|
||||||
|
|
||||||
DEFAULT VALUE:
|
.. rubric:: OPTION TYPE:
|
||||||
The default value is two times the value of
|
|
||||||
:ref:`CONFIGURE_MINIMUM_TASK_STACK_SIZE`.
|
|
||||||
|
|
||||||
VALUE CONSTRAINTS:
|
This configuration option is an integer define.
|
||||||
The value of this configuration option shall satisfy all of the following
|
|
||||||
constraints:
|
|
||||||
|
|
||||||
* It shall be small enough so that the task stack space calculation carried
|
.. rubric:: DEFAULT VALUE:
|
||||||
out by ``<rtems/confdefs.h>`` does not overflow an integer of type
|
|
||||||
`uintptr_t <https://en.cppreference.com/w/c/types/integer>`_.
|
|
||||||
|
|
||||||
* It shall be greater than or equal to a BSP-specific and
|
The default value is two times the value of
|
||||||
application-specific minimum value.
|
:ref:`CONFIGURE_MINIMUM_TASK_STACK_SIZE`.
|
||||||
|
|
||||||
DESCRIPTION:
|
.. rubric:: DESCRIPTION:
|
||||||
The value of this configuration option defines the minimum stack size in
|
|
||||||
bytes for every POSIX thread in the system.
|
|
||||||
|
|
||||||
NOTES:
|
The value of this configuration option defines the minimum stack size in
|
||||||
None.
|
bytes for every POSIX thread in the system.
|
||||||
|
|
||||||
|
.. rubric:: CONSTRAINTS:
|
||||||
|
|
||||||
|
The following constraints apply to this configuration option:
|
||||||
|
|
||||||
|
* The value of the configuration option shall be small enough so that the task
|
||||||
|
stack space calculation carried out by ``<rtems/confdefs.h>`` does not
|
||||||
|
overflow an integer of type `uintptr_t
|
||||||
|
<https://en.cppreference.com/w/c/types/integer>`_.
|
||||||
|
|
||||||
|
* The value of the configuration option shall be greater than or equal to a
|
||||||
|
BSP-specific and application-specific minimum value.
|
||||||
|
@ -28,6 +28,10 @@ initialization thread.
|
|||||||
|
|
||||||
.. Generated from spec:/acfg/if/posix-init-thread-entry-point
|
.. Generated from spec:/acfg/if/posix-init-thread-entry-point
|
||||||
|
|
||||||
|
.. raw:: latex
|
||||||
|
|
||||||
|
\clearpage
|
||||||
|
|
||||||
.. index:: CONFIGURE_POSIX_INIT_THREAD_ENTRY_POINT
|
.. index:: CONFIGURE_POSIX_INIT_THREAD_ENTRY_POINT
|
||||||
|
|
||||||
.. _CONFIGURE_POSIX_INIT_THREAD_ENTRY_POINT:
|
.. _CONFIGURE_POSIX_INIT_THREAD_ENTRY_POINT:
|
||||||
@ -35,29 +39,39 @@ initialization thread.
|
|||||||
CONFIGURE_POSIX_INIT_THREAD_ENTRY_POINT
|
CONFIGURE_POSIX_INIT_THREAD_ENTRY_POINT
|
||||||
---------------------------------------
|
---------------------------------------
|
||||||
|
|
||||||
CONSTANT:
|
.. rubric:: CONSTANT:
|
||||||
``CONFIGURE_POSIX_INIT_THREAD_ENTRY_POINT``
|
|
||||||
|
|
||||||
OPTION TYPE:
|
``CONFIGURE_POSIX_INIT_THREAD_ENTRY_POINT``
|
||||||
This configuration option is an initializer define.
|
|
||||||
|
|
||||||
DEFAULT VALUE:
|
.. rubric:: OPTION TYPE:
|
||||||
The default value is ``POSIX_Init``.
|
|
||||||
|
|
||||||
VALUE CONSTRAINTS:
|
This configuration option is an initializer define.
|
||||||
The value of this configuration option shall be defined to a valid function
|
|
||||||
pointer of the type ``void *( *entry_point )( void * )``.
|
|
||||||
|
|
||||||
DESCRIPTION:
|
.. rubric:: DEFAULT VALUE:
|
||||||
The value of this configuration option initializes the entry point of the
|
|
||||||
POSIX API initialization thread.
|
|
||||||
|
|
||||||
NOTES:
|
The default value is ``POSIX_Init``.
|
||||||
The application shall provide the function referenced by this configuration
|
|
||||||
option.
|
.. rubric:: DESCRIPTION:
|
||||||
|
|
||||||
|
The value of this configuration option initializes the entry point of the
|
||||||
|
POSIX API initialization thread.
|
||||||
|
|
||||||
|
.. rubric:: NOTES:
|
||||||
|
|
||||||
|
The application shall provide the function referenced by this configuration
|
||||||
|
option.
|
||||||
|
|
||||||
|
.. rubric:: CONSTRAINTS:
|
||||||
|
|
||||||
|
The value of the configuration option shall be defined to a valid function
|
||||||
|
pointer of the type ``void *( *entry_point )( void * )``.
|
||||||
|
|
||||||
.. Generated from spec:/acfg/if/posix-init-thread-stack-size
|
.. Generated from spec:/acfg/if/posix-init-thread-stack-size
|
||||||
|
|
||||||
|
.. raw:: latex
|
||||||
|
|
||||||
|
\clearpage
|
||||||
|
|
||||||
.. index:: CONFIGURE_POSIX_INIT_THREAD_STACK_SIZE
|
.. index:: CONFIGURE_POSIX_INIT_THREAD_STACK_SIZE
|
||||||
|
|
||||||
.. _CONFIGURE_POSIX_INIT_THREAD_STACK_SIZE:
|
.. _CONFIGURE_POSIX_INIT_THREAD_STACK_SIZE:
|
||||||
@ -65,35 +79,41 @@ NOTES:
|
|||||||
CONFIGURE_POSIX_INIT_THREAD_STACK_SIZE
|
CONFIGURE_POSIX_INIT_THREAD_STACK_SIZE
|
||||||
--------------------------------------
|
--------------------------------------
|
||||||
|
|
||||||
CONSTANT:
|
.. rubric:: CONSTANT:
|
||||||
``CONFIGURE_POSIX_INIT_THREAD_STACK_SIZE``
|
|
||||||
|
|
||||||
OPTION TYPE:
|
``CONFIGURE_POSIX_INIT_THREAD_STACK_SIZE``
|
||||||
This configuration option is an integer define.
|
|
||||||
|
|
||||||
DEFAULT VALUE:
|
.. rubric:: OPTION TYPE:
|
||||||
The default value is :ref:`CONFIGURE_MINIMUM_POSIX_THREAD_STACK_SIZE`.
|
|
||||||
|
|
||||||
VALUE CONSTRAINTS:
|
This configuration option is an integer define.
|
||||||
The value of this configuration option shall satisfy all of the following
|
|
||||||
constraints:
|
|
||||||
|
|
||||||
* It shall be greater than or equal to
|
.. rubric:: DEFAULT VALUE:
|
||||||
|
|
||||||
|
The default value is :ref:`CONFIGURE_MINIMUM_POSIX_THREAD_STACK_SIZE`.
|
||||||
|
|
||||||
|
.. rubric:: DESCRIPTION:
|
||||||
|
|
||||||
|
The value of this configuration option defines the thread stack size of the
|
||||||
|
POSIX API initialization thread.
|
||||||
|
|
||||||
|
.. rubric:: CONSTRAINTS:
|
||||||
|
|
||||||
|
The following constraints apply to this configuration option:
|
||||||
|
|
||||||
|
* The value of the configuration option shall be greater than or equal to
|
||||||
:ref:`CONFIGURE_MINIMUM_TASK_STACK_SIZE`.
|
:ref:`CONFIGURE_MINIMUM_TASK_STACK_SIZE`.
|
||||||
|
|
||||||
* It shall be small enough so that the task stack space calculation carried
|
* The value of the configuration option shall be small enough so that the task
|
||||||
out by ``<rtems/confdefs.h>`` does not overflow an integer of type
|
stack space calculation carried out by ``<rtems/confdefs.h>`` does not
|
||||||
`uintptr_t <https://en.cppreference.com/w/c/types/integer>`_.
|
overflow an integer of type `uintptr_t
|
||||||
|
<https://en.cppreference.com/w/c/types/integer>`_.
|
||||||
DESCRIPTION:
|
|
||||||
The value of this configuration option defines the thread stack size of the
|
|
||||||
POSIX API initialization thread.
|
|
||||||
|
|
||||||
NOTES:
|
|
||||||
None.
|
|
||||||
|
|
||||||
.. Generated from spec:/acfg/if/posix-init-thread-table
|
.. Generated from spec:/acfg/if/posix-init-thread-table
|
||||||
|
|
||||||
|
.. raw:: latex
|
||||||
|
|
||||||
|
\clearpage
|
||||||
|
|
||||||
.. index:: CONFIGURE_POSIX_INIT_THREAD_TABLE
|
.. index:: CONFIGURE_POSIX_INIT_THREAD_TABLE
|
||||||
|
|
||||||
.. _CONFIGURE_POSIX_INIT_THREAD_TABLE:
|
.. _CONFIGURE_POSIX_INIT_THREAD_TABLE:
|
||||||
@ -101,28 +121,33 @@ NOTES:
|
|||||||
CONFIGURE_POSIX_INIT_THREAD_TABLE
|
CONFIGURE_POSIX_INIT_THREAD_TABLE
|
||||||
---------------------------------
|
---------------------------------
|
||||||
|
|
||||||
CONSTANT:
|
.. rubric:: CONSTANT:
|
||||||
``CONFIGURE_POSIX_INIT_THREAD_TABLE``
|
|
||||||
|
|
||||||
OPTION TYPE:
|
``CONFIGURE_POSIX_INIT_THREAD_TABLE``
|
||||||
This configuration option is a boolean feature define.
|
|
||||||
|
|
||||||
DEFAULT CONFIGURATION:
|
.. rubric:: OPTION TYPE:
|
||||||
If this configuration option is undefined, then the described feature is not
|
|
||||||
enabled.
|
|
||||||
|
|
||||||
DESCRIPTION:
|
This configuration option is a boolean feature define.
|
||||||
In case this configuration option is defined, then exactly one POSIX
|
|
||||||
initialization thread is configured.
|
|
||||||
|
|
||||||
NOTES:
|
.. rubric:: DEFAULT CONFIGURATION:
|
||||||
The application shall define exactly one of the following configuration
|
|
||||||
options
|
|
||||||
|
|
||||||
* :ref:`CONFIGURE_RTEMS_INIT_TASKS_TABLE`,
|
If this configuration option is undefined, then the described feature is not
|
||||||
|
enabled.
|
||||||
|
|
||||||
* ``CONFIGURE_POSIX_INIT_THREAD_TABLE``, or
|
.. rubric:: DESCRIPTION:
|
||||||
|
|
||||||
* :ref:`CONFIGURE_IDLE_TASK_INITIALIZES_APPLICATION`
|
In case this configuration option is defined, then exactly one POSIX
|
||||||
|
initialization thread is configured.
|
||||||
|
|
||||||
otherwise a compile time error in the configuration file will occur.
|
.. rubric:: NOTES:
|
||||||
|
|
||||||
|
The application shall define exactly one of the following configuration
|
||||||
|
options
|
||||||
|
|
||||||
|
* :ref:`CONFIGURE_RTEMS_INIT_TASKS_TABLE`,
|
||||||
|
|
||||||
|
* ``CONFIGURE_POSIX_INIT_THREAD_TABLE``, or
|
||||||
|
|
||||||
|
* :ref:`CONFIGURE_IDLE_TASK_INITIALIZES_APPLICATION`
|
||||||
|
|
||||||
|
otherwise a compile time error in the configuration file will occur.
|
||||||
|
@ -49,6 +49,10 @@ configuration option.
|
|||||||
|
|
||||||
.. Generated from spec:/acfg/if/cbs-max-servers
|
.. Generated from spec:/acfg/if/cbs-max-servers
|
||||||
|
|
||||||
|
.. raw:: latex
|
||||||
|
|
||||||
|
\clearpage
|
||||||
|
|
||||||
.. index:: CONFIGURE_CBS_MAXIMUM_SERVERS
|
.. index:: CONFIGURE_CBS_MAXIMUM_SERVERS
|
||||||
|
|
||||||
.. _CONFIGURE_CBS_MAXIMUM_SERVERS:
|
.. _CONFIGURE_CBS_MAXIMUM_SERVERS:
|
||||||
@ -56,38 +60,47 @@ configuration option.
|
|||||||
CONFIGURE_CBS_MAXIMUM_SERVERS
|
CONFIGURE_CBS_MAXIMUM_SERVERS
|
||||||
-----------------------------
|
-----------------------------
|
||||||
|
|
||||||
CONSTANT:
|
.. rubric:: CONSTANT:
|
||||||
``CONFIGURE_CBS_MAXIMUM_SERVERS``
|
|
||||||
|
|
||||||
OPTION TYPE:
|
``CONFIGURE_CBS_MAXIMUM_SERVERS``
|
||||||
This configuration option is an integer define.
|
|
||||||
|
|
||||||
DEFAULT VALUE:
|
.. rubric:: OPTION TYPE:
|
||||||
The default value is :ref:`CONFIGURE_MAXIMUM_TASKS`.
|
|
||||||
|
|
||||||
VALUE CONSTRAINTS:
|
This configuration option is an integer define.
|
||||||
The value of this configuration option shall satisfy all of the following
|
|
||||||
constraints:
|
|
||||||
|
|
||||||
* It shall be greater than or equal to zero.
|
.. rubric:: DEFAULT VALUE:
|
||||||
|
|
||||||
* It shall be less than or equal to `SIZE_MAX
|
The default value is :ref:`CONFIGURE_MAXIMUM_TASKS`.
|
||||||
<https://en.cppreference.com/w/c/types/limits>`_.
|
|
||||||
|
|
||||||
* It shall be less than or equal to a BSP-specific and application-specific
|
.. rubric:: DESCRIPTION:
|
||||||
value which depends on the size of the memory available to the
|
|
||||||
application.
|
|
||||||
|
|
||||||
DESCRIPTION:
|
The value of this configuration option defines the maximum number Constant
|
||||||
The value of this configuration option defines the maximum number Constant
|
Bandwidth Servers that can be concurrently active.
|
||||||
Bandwidth Servers that can be concurrently active.
|
|
||||||
|
|
||||||
NOTES:
|
.. rubric:: NOTES:
|
||||||
This configuration option is only evaluated if the configuration option
|
|
||||||
:ref:`CONFIGURE_SCHEDULER_CBS` is defined.
|
This configuration option is only evaluated if the configuration option
|
||||||
|
:ref:`CONFIGURE_SCHEDULER_CBS` is defined.
|
||||||
|
|
||||||
|
.. rubric:: CONSTRAINTS:
|
||||||
|
|
||||||
|
The following constraints apply to this configuration option:
|
||||||
|
|
||||||
|
* The value of the configuration option shall be greater than or equal to zero.
|
||||||
|
|
||||||
|
* The value of the configuration option shall be less than or equal to
|
||||||
|
`SIZE_MAX <https://en.cppreference.com/w/c/types/limits>`_.
|
||||||
|
|
||||||
|
* The value of the configuration option shall be less than or equal to a
|
||||||
|
BSP-specific and application-specific value which depends on the size of the
|
||||||
|
memory available to the application.
|
||||||
|
|
||||||
.. Generated from spec:/acfg/if/max-priority
|
.. Generated from spec:/acfg/if/max-priority
|
||||||
|
|
||||||
|
.. raw:: latex
|
||||||
|
|
||||||
|
\clearpage
|
||||||
|
|
||||||
.. index:: CONFIGURE_MAXIMUM_PRIORITY
|
.. index:: CONFIGURE_MAXIMUM_PRIORITY
|
||||||
.. index:: maximum priority
|
.. index:: maximum priority
|
||||||
.. index:: number of priority levels
|
.. index:: number of priority levels
|
||||||
@ -97,57 +110,67 @@ NOTES:
|
|||||||
CONFIGURE_MAXIMUM_PRIORITY
|
CONFIGURE_MAXIMUM_PRIORITY
|
||||||
--------------------------
|
--------------------------
|
||||||
|
|
||||||
CONSTANT:
|
.. rubric:: CONSTANT:
|
||||||
``CONFIGURE_MAXIMUM_PRIORITY``
|
|
||||||
|
|
||||||
OPTION TYPE:
|
``CONFIGURE_MAXIMUM_PRIORITY``
|
||||||
This configuration option is an integer define.
|
|
||||||
|
|
||||||
DEFAULT VALUE:
|
.. rubric:: OPTION TYPE:
|
||||||
The default value is 255.
|
|
||||||
|
|
||||||
VALUE CONSTRAINTS:
|
This configuration option is an integer define.
|
||||||
The value of this configuration option shall be equal to 3, 7, 31, 63, 127,
|
|
||||||
or 255.
|
|
||||||
|
|
||||||
DESCRIPTION:
|
.. rubric:: DEFAULT VALUE:
|
||||||
For the following schedulers
|
|
||||||
|
|
||||||
* :ref:`SchedulerPriority`, which is the default in uniprocessor
|
The default value is 255.
|
||||||
|
|
||||||
|
.. rubric:: DESCRIPTION:
|
||||||
|
|
||||||
|
For the following schedulers
|
||||||
|
|
||||||
|
* :ref:`SchedulerPriority`, which is the default in uniprocessor
|
||||||
configurations and can be configured through the
|
configurations and can be configured through the
|
||||||
:ref:`CONFIGURE_SCHEDULER_PRIORITY` configuration option,
|
:ref:`CONFIGURE_SCHEDULER_PRIORITY` configuration option,
|
||||||
|
|
||||||
* :ref:`SchedulerSMPPriority` which can be configured through the
|
* :ref:`SchedulerSMPPriority` which can be configured through the
|
||||||
:ref:`CONFIGURE_SCHEDULER_PRIORITY_SMP` configuration option, and
|
:ref:`CONFIGURE_SCHEDULER_PRIORITY_SMP` configuration option, and
|
||||||
|
|
||||||
* :ref:`SchedulerSMPPriorityAffinity` which can be configured through the
|
* :ref:`SchedulerSMPPriorityAffinity` which can be configured through the
|
||||||
:ref:`CONFIGURE_SCHEDULER_PRIORITY_AFFINITY_SMP` configuration option
|
:ref:`CONFIGURE_SCHEDULER_PRIORITY_AFFINITY_SMP` configuration option
|
||||||
|
|
||||||
this configuration option specifies the maximum numeric priority of any task
|
this configuration option specifies the maximum numeric priority of any task
|
||||||
for these schedulers and one less that the number of priority levels for
|
for these schedulers and one less that the number of priority levels for
|
||||||
these schedulers. For all other schedulers provided by RTEMS, this
|
these schedulers. For all other schedulers provided by RTEMS, this
|
||||||
configuration option has no effect.
|
configuration option has no effect.
|
||||||
|
|
||||||
NOTES:
|
.. rubric:: NOTES:
|
||||||
The numerically greatest priority is the logically lowest priority in the
|
|
||||||
system and will thus be used by the IDLE task.
|
|
||||||
|
|
||||||
Priority zero is reserved for internal use by RTEMS and is not available to
|
The numerically greatest priority is the logically lowest priority in the
|
||||||
applications.
|
system and will thus be used by the IDLE task.
|
||||||
|
|
||||||
Reducing the number of priorities through this configuration option reduces
|
Priority zero is reserved for internal use by RTEMS and is not available to
|
||||||
the amount of memory allocated by the schedulers listed above. These
|
applications.
|
||||||
schedulers use a chain control structure per priority and this structure
|
|
||||||
consists of three pointers. On a 32-bit architecture, the allocated memory
|
|
||||||
is 12 bytes * (``CONFIGURE_MAXIMUM_PRIORITY`` + 1), e.g. 3072 bytes for 256
|
|
||||||
priority levels (default), 48 bytes for 4 priority levels
|
|
||||||
(``CONFIGURE_MAXIMUM_PRIORITY == 3``).
|
|
||||||
|
|
||||||
The default value is 255, because RTEMS shall support 256 priority levels to
|
Reducing the number of priorities through this configuration option reduces
|
||||||
be compliant with various standards. These priorities range from 0 to 255.
|
the amount of memory allocated by the schedulers listed above. These
|
||||||
|
schedulers use a chain control structure per priority and this structure
|
||||||
|
consists of three pointers. On a 32-bit architecture, the allocated memory
|
||||||
|
is 12 bytes * (``CONFIGURE_MAXIMUM_PRIORITY`` + 1), e.g. 3072 bytes for 256
|
||||||
|
priority levels (default), 48 bytes for 4 priority levels
|
||||||
|
(``CONFIGURE_MAXIMUM_PRIORITY == 3``).
|
||||||
|
|
||||||
|
The default value is 255, because RTEMS shall support 256 priority levels to
|
||||||
|
be compliant with various standards. These priorities range from 0 to 255.
|
||||||
|
|
||||||
|
.. rubric:: CONSTRAINTS:
|
||||||
|
|
||||||
|
The value of the configuration option shall be equal to 3, 7, 31, 63, 127, or
|
||||||
|
255.
|
||||||
|
|
||||||
.. Generated from spec:/acfg/if/scheduler-assignments
|
.. Generated from spec:/acfg/if/scheduler-assignments
|
||||||
|
|
||||||
|
.. raw:: latex
|
||||||
|
|
||||||
|
\clearpage
|
||||||
|
|
||||||
.. index:: CONFIGURE_SCHEDULER_ASSIGNMENTS
|
.. index:: CONFIGURE_SCHEDULER_ASSIGNMENTS
|
||||||
|
|
||||||
.. _CONFIGURE_SCHEDULER_ASSIGNMENTS:
|
.. _CONFIGURE_SCHEDULER_ASSIGNMENTS:
|
||||||
@ -155,41 +178,51 @@ NOTES:
|
|||||||
CONFIGURE_SCHEDULER_ASSIGNMENTS
|
CONFIGURE_SCHEDULER_ASSIGNMENTS
|
||||||
-------------------------------
|
-------------------------------
|
||||||
|
|
||||||
CONSTANT:
|
.. rubric:: CONSTANT:
|
||||||
``CONFIGURE_SCHEDULER_ASSIGNMENTS``
|
|
||||||
|
|
||||||
OPTION TYPE:
|
``CONFIGURE_SCHEDULER_ASSIGNMENTS``
|
||||||
This configuration option is an initializer define.
|
|
||||||
|
|
||||||
DEFAULT VALUE:
|
.. rubric:: OPTION TYPE:
|
||||||
The default value of this configuration option is computed so that the
|
|
||||||
default scheduler is assigned to each configured processor (up to 32).
|
|
||||||
|
|
||||||
VALUE CONSTRAINTS:
|
This configuration option is an initializer define.
|
||||||
The value of this configuration option shall satisfy all of the following
|
|
||||||
constraints:
|
|
||||||
|
|
||||||
* It shall be a list of the following macros:
|
.. rubric:: DEFAULT VALUE:
|
||||||
|
|
||||||
|
The default value of this configuration option is computed so that the
|
||||||
|
default scheduler is assigned to each configured processor (up to 32).
|
||||||
|
|
||||||
|
.. rubric:: DESCRIPTION:
|
||||||
|
|
||||||
|
The value of this configuration option is used to initialize the initial
|
||||||
|
scheduler to processor assignments.
|
||||||
|
|
||||||
|
.. rubric:: NOTES:
|
||||||
|
|
||||||
|
This configuration option is only evaluated in SMP configurations.
|
||||||
|
|
||||||
|
This is an advanced configuration option, see
|
||||||
|
:ref:`ConfigurationSchedulersClustered`.
|
||||||
|
|
||||||
|
.. rubric:: CONSTRAINTS:
|
||||||
|
|
||||||
|
The following constraints apply to this configuration option:
|
||||||
|
|
||||||
|
* The value of the configuration option shall be a list of the following
|
||||||
|
macros:
|
||||||
|
|
||||||
* ``RTEMS_SCHEDULER_ASSIGN( processor_index, attributes )``
|
* ``RTEMS_SCHEDULER_ASSIGN( processor_index, attributes )``
|
||||||
|
|
||||||
* ``RTEMS_SCHEDULER_ASSIGN_NO_SCHEDULER``
|
* ``RTEMS_SCHEDULER_ASSIGN_NO_SCHEDULER``
|
||||||
|
|
||||||
* It shall be a list of exactly :ref:`CONFIGURE_MAXIMUM_PROCESSORS`
|
* The value of the configuration option shall be a list of exactly
|
||||||
elements.
|
:ref:`CONFIGURE_MAXIMUM_PROCESSORS` elements.
|
||||||
|
|
||||||
DESCRIPTION:
|
|
||||||
The value of this configuration option is used to initialize the initial
|
|
||||||
scheduler to processor assignments.
|
|
||||||
|
|
||||||
NOTES:
|
|
||||||
This configuration option is only evaluated in SMP configurations.
|
|
||||||
|
|
||||||
This is an advanced configuration option, see
|
|
||||||
:ref:`ConfigurationSchedulersClustered`.
|
|
||||||
|
|
||||||
.. Generated from spec:/acfg/if/scheduler-cbs
|
.. Generated from spec:/acfg/if/scheduler-cbs
|
||||||
|
|
||||||
|
.. raw:: latex
|
||||||
|
|
||||||
|
\clearpage
|
||||||
|
|
||||||
.. index:: CONFIGURE_SCHEDULER_CBS
|
.. index:: CONFIGURE_SCHEDULER_CBS
|
||||||
|
|
||||||
.. _CONFIGURE_SCHEDULER_CBS:
|
.. _CONFIGURE_SCHEDULER_CBS:
|
||||||
@ -197,30 +230,39 @@ NOTES:
|
|||||||
CONFIGURE_SCHEDULER_CBS
|
CONFIGURE_SCHEDULER_CBS
|
||||||
-----------------------
|
-----------------------
|
||||||
|
|
||||||
CONSTANT:
|
.. rubric:: CONSTANT:
|
||||||
``CONFIGURE_SCHEDULER_CBS``
|
|
||||||
|
|
||||||
OPTION TYPE:
|
``CONFIGURE_SCHEDULER_CBS``
|
||||||
This configuration option is a boolean feature define.
|
|
||||||
|
|
||||||
DEFAULT CONFIGURATION:
|
.. rubric:: OPTION TYPE:
|
||||||
If this configuration option is undefined, then the described feature is not
|
|
||||||
enabled.
|
|
||||||
|
|
||||||
DESCRIPTION:
|
This configuration option is a boolean feature define.
|
||||||
In case this configuration option is defined, then the
|
|
||||||
:ref:`SchedulerCBS`
|
|
||||||
algorithm is made available to the application.
|
|
||||||
|
|
||||||
NOTES:
|
.. rubric:: DEFAULT CONFIGURATION:
|
||||||
This scheduler configuration option is an advanced configuration option.
|
|
||||||
Think twice before you use it.
|
|
||||||
|
|
||||||
In case no explicit :ref:`ConfigurationSchedulersClustered`
|
If this configuration option is undefined, then the described feature is not
|
||||||
is present, then it is used as the scheduler for exactly one processor.
|
enabled.
|
||||||
|
|
||||||
|
.. rubric:: DESCRIPTION:
|
||||||
|
|
||||||
|
In case this configuration option is defined, then the
|
||||||
|
:ref:`SchedulerCBS`
|
||||||
|
algorithm is made available to the application.
|
||||||
|
|
||||||
|
.. rubric:: NOTES:
|
||||||
|
|
||||||
|
This scheduler configuration option is an advanced configuration option.
|
||||||
|
Think twice before you use it.
|
||||||
|
|
||||||
|
In case no explicit :ref:`ConfigurationSchedulersClustered`
|
||||||
|
is present, then it is used as the scheduler for exactly one processor.
|
||||||
|
|
||||||
.. Generated from spec:/acfg/if/scheduler-edf
|
.. Generated from spec:/acfg/if/scheduler-edf
|
||||||
|
|
||||||
|
.. raw:: latex
|
||||||
|
|
||||||
|
\clearpage
|
||||||
|
|
||||||
.. index:: CONFIGURE_SCHEDULER_EDF
|
.. index:: CONFIGURE_SCHEDULER_EDF
|
||||||
|
|
||||||
.. _CONFIGURE_SCHEDULER_EDF:
|
.. _CONFIGURE_SCHEDULER_EDF:
|
||||||
@ -228,30 +270,39 @@ NOTES:
|
|||||||
CONFIGURE_SCHEDULER_EDF
|
CONFIGURE_SCHEDULER_EDF
|
||||||
-----------------------
|
-----------------------
|
||||||
|
|
||||||
CONSTANT:
|
.. rubric:: CONSTANT:
|
||||||
``CONFIGURE_SCHEDULER_EDF``
|
|
||||||
|
|
||||||
OPTION TYPE:
|
``CONFIGURE_SCHEDULER_EDF``
|
||||||
This configuration option is a boolean feature define.
|
|
||||||
|
|
||||||
DEFAULT CONFIGURATION:
|
.. rubric:: OPTION TYPE:
|
||||||
If this configuration option is undefined, then the described feature is not
|
|
||||||
enabled.
|
|
||||||
|
|
||||||
DESCRIPTION:
|
This configuration option is a boolean feature define.
|
||||||
In case this configuration option is defined, then the
|
|
||||||
:ref:`SchedulerEDF`
|
|
||||||
algorithm is made available to the application.
|
|
||||||
|
|
||||||
NOTES:
|
.. rubric:: DEFAULT CONFIGURATION:
|
||||||
This scheduler configuration option is an advanced configuration option.
|
|
||||||
Think twice before you use it.
|
|
||||||
|
|
||||||
In case no explicit :ref:`ConfigurationSchedulersClustered`
|
If this configuration option is undefined, then the described feature is not
|
||||||
is present, then it is used as the scheduler for exactly one processor.
|
enabled.
|
||||||
|
|
||||||
|
.. rubric:: DESCRIPTION:
|
||||||
|
|
||||||
|
In case this configuration option is defined, then the
|
||||||
|
:ref:`SchedulerEDF`
|
||||||
|
algorithm is made available to the application.
|
||||||
|
|
||||||
|
.. rubric:: NOTES:
|
||||||
|
|
||||||
|
This scheduler configuration option is an advanced configuration option.
|
||||||
|
Think twice before you use it.
|
||||||
|
|
||||||
|
In case no explicit :ref:`ConfigurationSchedulersClustered`
|
||||||
|
is present, then it is used as the scheduler for exactly one processor.
|
||||||
|
|
||||||
.. Generated from spec:/acfg/if/scheduler-edf-smp
|
.. Generated from spec:/acfg/if/scheduler-edf-smp
|
||||||
|
|
||||||
|
.. raw:: latex
|
||||||
|
|
||||||
|
\clearpage
|
||||||
|
|
||||||
.. index:: CONFIGURE_SCHEDULER_EDF_SMP
|
.. index:: CONFIGURE_SCHEDULER_EDF_SMP
|
||||||
|
|
||||||
.. _CONFIGURE_SCHEDULER_EDF_SMP:
|
.. _CONFIGURE_SCHEDULER_EDF_SMP:
|
||||||
@ -259,37 +310,46 @@ NOTES:
|
|||||||
CONFIGURE_SCHEDULER_EDF_SMP
|
CONFIGURE_SCHEDULER_EDF_SMP
|
||||||
---------------------------
|
---------------------------
|
||||||
|
|
||||||
CONSTANT:
|
.. rubric:: CONSTANT:
|
||||||
``CONFIGURE_SCHEDULER_EDF_SMP``
|
|
||||||
|
|
||||||
OPTION TYPE:
|
``CONFIGURE_SCHEDULER_EDF_SMP``
|
||||||
This configuration option is a boolean feature define.
|
|
||||||
|
|
||||||
DEFAULT CONFIGURATION:
|
.. rubric:: OPTION TYPE:
|
||||||
If this configuration option is undefined, then the described feature is not
|
|
||||||
enabled.
|
|
||||||
|
|
||||||
DESCRIPTION:
|
This configuration option is a boolean feature define.
|
||||||
In case this configuration option is defined, then the
|
|
||||||
:ref:`SchedulerSMPEDF`
|
|
||||||
algorithm is made available to the application.
|
|
||||||
|
|
||||||
NOTES:
|
.. rubric:: DEFAULT CONFIGURATION:
|
||||||
This scheduler configuration option is an advanced configuration option.
|
|
||||||
Think twice before you use it.
|
|
||||||
|
|
||||||
This scheduler algorithm is only available when RTEMS is built with SMP
|
If this configuration option is undefined, then the described feature is not
|
||||||
support enabled.
|
enabled.
|
||||||
|
|
||||||
In case no explicit :ref:`ConfigurationSchedulersClustered`
|
.. rubric:: DESCRIPTION:
|
||||||
is present, then it is used as the scheduler for up to 32 processors.
|
|
||||||
|
|
||||||
This scheduler algorithm is the default in SMP configurations if
|
In case this configuration option is defined, then the
|
||||||
:ref:`CONFIGURE_MAXIMUM_PROCESSORS` is
|
:ref:`SchedulerSMPEDF`
|
||||||
greater than one.
|
algorithm is made available to the application.
|
||||||
|
|
||||||
|
.. rubric:: NOTES:
|
||||||
|
|
||||||
|
This scheduler configuration option is an advanced configuration option.
|
||||||
|
Think twice before you use it.
|
||||||
|
|
||||||
|
This scheduler algorithm is only available when RTEMS is built with SMP
|
||||||
|
support enabled.
|
||||||
|
|
||||||
|
In case no explicit :ref:`ConfigurationSchedulersClustered`
|
||||||
|
is present, then it is used as the scheduler for up to 32 processors.
|
||||||
|
|
||||||
|
This scheduler algorithm is the default in SMP configurations if
|
||||||
|
:ref:`CONFIGURE_MAXIMUM_PROCESSORS` is
|
||||||
|
greater than one.
|
||||||
|
|
||||||
.. Generated from spec:/acfg/if/scheduler-name
|
.. Generated from spec:/acfg/if/scheduler-name
|
||||||
|
|
||||||
|
.. raw:: latex
|
||||||
|
|
||||||
|
\clearpage
|
||||||
|
|
||||||
.. index:: CONFIGURE_SCHEDULER_NAME
|
.. index:: CONFIGURE_SCHEDULER_NAME
|
||||||
|
|
||||||
.. _CONFIGURE_SCHEDULER_NAME:
|
.. _CONFIGURE_SCHEDULER_NAME:
|
||||||
@ -297,49 +357,59 @@ NOTES:
|
|||||||
CONFIGURE_SCHEDULER_NAME
|
CONFIGURE_SCHEDULER_NAME
|
||||||
------------------------
|
------------------------
|
||||||
|
|
||||||
CONSTANT:
|
.. rubric:: CONSTANT:
|
||||||
``CONFIGURE_SCHEDULER_NAME``
|
|
||||||
|
|
||||||
OPTION TYPE:
|
``CONFIGURE_SCHEDULER_NAME``
|
||||||
This configuration option is an integer define.
|
|
||||||
|
|
||||||
DEFAULT VALUE:
|
.. rubric:: OPTION TYPE:
|
||||||
The default value is
|
|
||||||
|
|
||||||
* ``"MEDF"`` for the :ref:`SchedulerSMPEDF`,
|
This configuration option is an integer define.
|
||||||
|
|
||||||
* ``"MPA "`` for the :ref:`SchedulerSMPPriorityAffinity`,
|
.. rubric:: DEFAULT VALUE:
|
||||||
|
|
||||||
* ``"MPD "`` for the :ref:`SchedulerSMPPriority`,
|
The default value is
|
||||||
|
|
||||||
* ``"MPS "`` for the :ref:`SchedulerSMPPrioritySimple`,
|
* ``"MEDF"`` for the :ref:`SchedulerSMPEDF`,
|
||||||
|
|
||||||
* ``"UCBS"`` for the :ref:`SchedulerCBS`,
|
* ``"MPA "`` for the :ref:`SchedulerSMPPriorityAffinity`,
|
||||||
|
|
||||||
* ``"UEDF"`` for the :ref:`SchedulerEDF`,
|
* ``"MPD "`` for the :ref:`SchedulerSMPPriority`,
|
||||||
|
|
||||||
* ``"UPD "`` for the :ref:`SchedulerPriority`, and
|
* ``"MPS "`` for the :ref:`SchedulerSMPPrioritySimple`,
|
||||||
|
|
||||||
* ``"UPS "`` for the :ref:`SchedulerPrioritySimple`.
|
* ``"UCBS"`` for the :ref:`SchedulerCBS`,
|
||||||
|
|
||||||
VALUE CONSTRAINTS:
|
* ``"UEDF"`` for the :ref:`SchedulerEDF`,
|
||||||
The value of this configuration option shall be convertible to an integer
|
|
||||||
of type :c:type:`rtems_name`.
|
|
||||||
|
|
||||||
DESCRIPTION:
|
* ``"UPD "`` for the :ref:`SchedulerPriority`, and
|
||||||
The value of this configuration option defines the name of the default
|
|
||||||
scheduler.
|
|
||||||
|
|
||||||
NOTES:
|
* ``"UPS "`` for the :ref:`SchedulerPrioritySimple`.
|
||||||
This scheduler configuration option is an advanced configuration option.
|
|
||||||
Think twice before you use it.
|
|
||||||
|
|
||||||
Schedulers can be identified via :c:func:`rtems_scheduler_ident`.
|
.. rubric:: DESCRIPTION:
|
||||||
|
|
||||||
Use :c:func:`rtems_build_name` to define the scheduler name.
|
The value of this configuration option defines the name of the default
|
||||||
|
scheduler.
|
||||||
|
|
||||||
|
.. rubric:: NOTES:
|
||||||
|
|
||||||
|
This scheduler configuration option is an advanced configuration option.
|
||||||
|
Think twice before you use it.
|
||||||
|
|
||||||
|
Schedulers can be identified via :c:func:`rtems_scheduler_ident`.
|
||||||
|
|
||||||
|
Use :c:func:`rtems_build_name` to define the scheduler name.
|
||||||
|
|
||||||
|
.. rubric:: CONSTRAINTS:
|
||||||
|
|
||||||
|
The value of the configuration option shall be convertible to an integer of
|
||||||
|
type :c:type:`rtems_name`.
|
||||||
|
|
||||||
.. Generated from spec:/acfg/if/scheduler-priority
|
.. Generated from spec:/acfg/if/scheduler-priority
|
||||||
|
|
||||||
|
.. raw:: latex
|
||||||
|
|
||||||
|
\clearpage
|
||||||
|
|
||||||
.. index:: CONFIGURE_SCHEDULER_PRIORITY
|
.. index:: CONFIGURE_SCHEDULER_PRIORITY
|
||||||
|
|
||||||
.. _CONFIGURE_SCHEDULER_PRIORITY:
|
.. _CONFIGURE_SCHEDULER_PRIORITY:
|
||||||
@ -347,37 +417,46 @@ NOTES:
|
|||||||
CONFIGURE_SCHEDULER_PRIORITY
|
CONFIGURE_SCHEDULER_PRIORITY
|
||||||
----------------------------
|
----------------------------
|
||||||
|
|
||||||
CONSTANT:
|
.. rubric:: CONSTANT:
|
||||||
``CONFIGURE_SCHEDULER_PRIORITY``
|
|
||||||
|
|
||||||
OPTION TYPE:
|
``CONFIGURE_SCHEDULER_PRIORITY``
|
||||||
This configuration option is a boolean feature define.
|
|
||||||
|
|
||||||
DEFAULT CONFIGURATION:
|
.. rubric:: OPTION TYPE:
|
||||||
If this configuration option is undefined, then the described feature is not
|
|
||||||
enabled.
|
|
||||||
|
|
||||||
DESCRIPTION:
|
This configuration option is a boolean feature define.
|
||||||
In case this configuration option is defined, then the
|
|
||||||
:ref:`SchedulerPriority`
|
|
||||||
algorithm is made available to the application.
|
|
||||||
|
|
||||||
NOTES:
|
.. rubric:: DEFAULT CONFIGURATION:
|
||||||
This scheduler configuration option is an advanced configuration option.
|
|
||||||
Think twice before you use it.
|
|
||||||
|
|
||||||
In case no explicit :ref:`ConfigurationSchedulersClustered`
|
If this configuration option is undefined, then the described feature is not
|
||||||
is present, then it is used as the scheduler for exactly one processor.
|
enabled.
|
||||||
|
|
||||||
This scheduler algorithm is the default when
|
.. rubric:: DESCRIPTION:
|
||||||
:ref:`CONFIGURE_MAXIMUM_PROCESSORS` is
|
|
||||||
exactly one.
|
|
||||||
|
|
||||||
The memory allocated for this scheduler depends on the
|
In case this configuration option is defined, then the
|
||||||
:ref:`CONFIGURE_MAXIMUM_PRIORITY` configuration option.
|
:ref:`SchedulerPriority`
|
||||||
|
algorithm is made available to the application.
|
||||||
|
|
||||||
|
.. rubric:: NOTES:
|
||||||
|
|
||||||
|
This scheduler configuration option is an advanced configuration option.
|
||||||
|
Think twice before you use it.
|
||||||
|
|
||||||
|
In case no explicit :ref:`ConfigurationSchedulersClustered`
|
||||||
|
is present, then it is used as the scheduler for exactly one processor.
|
||||||
|
|
||||||
|
This scheduler algorithm is the default when
|
||||||
|
:ref:`CONFIGURE_MAXIMUM_PROCESSORS` is
|
||||||
|
exactly one.
|
||||||
|
|
||||||
|
The memory allocated for this scheduler depends on the
|
||||||
|
:ref:`CONFIGURE_MAXIMUM_PRIORITY` configuration option.
|
||||||
|
|
||||||
.. Generated from spec:/acfg/if/scheduler-priority-affinity-smp
|
.. Generated from spec:/acfg/if/scheduler-priority-affinity-smp
|
||||||
|
|
||||||
|
.. raw:: latex
|
||||||
|
|
||||||
|
\clearpage
|
||||||
|
|
||||||
.. index:: CONFIGURE_SCHEDULER_PRIORITY_AFFINITY_SMP
|
.. index:: CONFIGURE_SCHEDULER_PRIORITY_AFFINITY_SMP
|
||||||
|
|
||||||
.. _CONFIGURE_SCHEDULER_PRIORITY_AFFINITY_SMP:
|
.. _CONFIGURE_SCHEDULER_PRIORITY_AFFINITY_SMP:
|
||||||
@ -385,36 +464,45 @@ NOTES:
|
|||||||
CONFIGURE_SCHEDULER_PRIORITY_AFFINITY_SMP
|
CONFIGURE_SCHEDULER_PRIORITY_AFFINITY_SMP
|
||||||
-----------------------------------------
|
-----------------------------------------
|
||||||
|
|
||||||
CONSTANT:
|
.. rubric:: CONSTANT:
|
||||||
``CONFIGURE_SCHEDULER_PRIORITY_AFFINITY_SMP``
|
|
||||||
|
|
||||||
OPTION TYPE:
|
``CONFIGURE_SCHEDULER_PRIORITY_AFFINITY_SMP``
|
||||||
This configuration option is a boolean feature define.
|
|
||||||
|
|
||||||
DEFAULT CONFIGURATION:
|
.. rubric:: OPTION TYPE:
|
||||||
If this configuration option is undefined, then the described feature is not
|
|
||||||
enabled.
|
|
||||||
|
|
||||||
DESCRIPTION:
|
This configuration option is a boolean feature define.
|
||||||
In case this configuration option is defined, then the
|
|
||||||
:ref:`SchedulerSMPPriorityAffinity`
|
|
||||||
algorithm is made available to the application.
|
|
||||||
|
|
||||||
NOTES:
|
.. rubric:: DEFAULT CONFIGURATION:
|
||||||
This scheduler configuration option is an advanced configuration option.
|
|
||||||
Think twice before you use it.
|
|
||||||
|
|
||||||
This scheduler algorithm is only available when RTEMS is built with SMP
|
If this configuration option is undefined, then the described feature is not
|
||||||
support enabled.
|
enabled.
|
||||||
|
|
||||||
In case no explicit :ref:`ConfigurationSchedulersClustered`
|
.. rubric:: DESCRIPTION:
|
||||||
is present, then it is used as the scheduler for up to 32 processors.
|
|
||||||
|
|
||||||
The memory allocated for this scheduler depends on the
|
In case this configuration option is defined, then the
|
||||||
:ref:`CONFIGURE_MAXIMUM_PRIORITY` configuration option.
|
:ref:`SchedulerSMPPriorityAffinity`
|
||||||
|
algorithm is made available to the application.
|
||||||
|
|
||||||
|
.. rubric:: NOTES:
|
||||||
|
|
||||||
|
This scheduler configuration option is an advanced configuration option.
|
||||||
|
Think twice before you use it.
|
||||||
|
|
||||||
|
This scheduler algorithm is only available when RTEMS is built with SMP
|
||||||
|
support enabled.
|
||||||
|
|
||||||
|
In case no explicit :ref:`ConfigurationSchedulersClustered`
|
||||||
|
is present, then it is used as the scheduler for up to 32 processors.
|
||||||
|
|
||||||
|
The memory allocated for this scheduler depends on the
|
||||||
|
:ref:`CONFIGURE_MAXIMUM_PRIORITY` configuration option.
|
||||||
|
|
||||||
.. Generated from spec:/acfg/if/scheduler-priority-smp
|
.. Generated from spec:/acfg/if/scheduler-priority-smp
|
||||||
|
|
||||||
|
.. raw:: latex
|
||||||
|
|
||||||
|
\clearpage
|
||||||
|
|
||||||
.. index:: CONFIGURE_SCHEDULER_PRIORITY_SMP
|
.. index:: CONFIGURE_SCHEDULER_PRIORITY_SMP
|
||||||
|
|
||||||
.. _CONFIGURE_SCHEDULER_PRIORITY_SMP:
|
.. _CONFIGURE_SCHEDULER_PRIORITY_SMP:
|
||||||
@ -422,36 +510,45 @@ NOTES:
|
|||||||
CONFIGURE_SCHEDULER_PRIORITY_SMP
|
CONFIGURE_SCHEDULER_PRIORITY_SMP
|
||||||
--------------------------------
|
--------------------------------
|
||||||
|
|
||||||
CONSTANT:
|
.. rubric:: CONSTANT:
|
||||||
``CONFIGURE_SCHEDULER_PRIORITY_SMP``
|
|
||||||
|
|
||||||
OPTION TYPE:
|
``CONFIGURE_SCHEDULER_PRIORITY_SMP``
|
||||||
This configuration option is a boolean feature define.
|
|
||||||
|
|
||||||
DEFAULT CONFIGURATION:
|
.. rubric:: OPTION TYPE:
|
||||||
If this configuration option is undefined, then the described feature is not
|
|
||||||
enabled.
|
|
||||||
|
|
||||||
DESCRIPTION:
|
This configuration option is a boolean feature define.
|
||||||
In case this configuration option is defined, then the
|
|
||||||
:ref:`SchedulerSMPPriority`
|
|
||||||
algorithm is made available to the application.
|
|
||||||
|
|
||||||
NOTES:
|
.. rubric:: DEFAULT CONFIGURATION:
|
||||||
This scheduler configuration option is an advanced configuration option.
|
|
||||||
Think twice before you use it.
|
|
||||||
|
|
||||||
This scheduler algorithm is only available when RTEMS is built with SMP
|
If this configuration option is undefined, then the described feature is not
|
||||||
support enabled.
|
enabled.
|
||||||
|
|
||||||
In case no explicit :ref:`ConfigurationSchedulersClustered`
|
.. rubric:: DESCRIPTION:
|
||||||
is present, then it is used as the scheduler for up to 32 processors.
|
|
||||||
|
|
||||||
The memory allocated for this scheduler depends on the
|
In case this configuration option is defined, then the
|
||||||
:ref:`CONFIGURE_MAXIMUM_PRIORITY` configuration option.
|
:ref:`SchedulerSMPPriority`
|
||||||
|
algorithm is made available to the application.
|
||||||
|
|
||||||
|
.. rubric:: NOTES:
|
||||||
|
|
||||||
|
This scheduler configuration option is an advanced configuration option.
|
||||||
|
Think twice before you use it.
|
||||||
|
|
||||||
|
This scheduler algorithm is only available when RTEMS is built with SMP
|
||||||
|
support enabled.
|
||||||
|
|
||||||
|
In case no explicit :ref:`ConfigurationSchedulersClustered`
|
||||||
|
is present, then it is used as the scheduler for up to 32 processors.
|
||||||
|
|
||||||
|
The memory allocated for this scheduler depends on the
|
||||||
|
:ref:`CONFIGURE_MAXIMUM_PRIORITY` configuration option.
|
||||||
|
|
||||||
.. Generated from spec:/acfg/if/scheduler-simple
|
.. Generated from spec:/acfg/if/scheduler-simple
|
||||||
|
|
||||||
|
.. raw:: latex
|
||||||
|
|
||||||
|
\clearpage
|
||||||
|
|
||||||
.. index:: CONFIGURE_SCHEDULER_SIMPLE
|
.. index:: CONFIGURE_SCHEDULER_SIMPLE
|
||||||
|
|
||||||
.. _CONFIGURE_SCHEDULER_SIMPLE:
|
.. _CONFIGURE_SCHEDULER_SIMPLE:
|
||||||
@ -459,30 +556,39 @@ NOTES:
|
|||||||
CONFIGURE_SCHEDULER_SIMPLE
|
CONFIGURE_SCHEDULER_SIMPLE
|
||||||
--------------------------
|
--------------------------
|
||||||
|
|
||||||
CONSTANT:
|
.. rubric:: CONSTANT:
|
||||||
``CONFIGURE_SCHEDULER_SIMPLE``
|
|
||||||
|
|
||||||
OPTION TYPE:
|
``CONFIGURE_SCHEDULER_SIMPLE``
|
||||||
This configuration option is a boolean feature define.
|
|
||||||
|
|
||||||
DEFAULT CONFIGURATION:
|
.. rubric:: OPTION TYPE:
|
||||||
If this configuration option is undefined, then the described feature is not
|
|
||||||
enabled.
|
|
||||||
|
|
||||||
DESCRIPTION:
|
This configuration option is a boolean feature define.
|
||||||
In case this configuration option is defined, then the
|
|
||||||
:ref:`SchedulerPrioritySimple`
|
|
||||||
algorithm is made available to the application.
|
|
||||||
|
|
||||||
NOTES:
|
.. rubric:: DEFAULT CONFIGURATION:
|
||||||
This scheduler configuration option is an advanced configuration option.
|
|
||||||
Think twice before you use it.
|
|
||||||
|
|
||||||
In case no explicit :ref:`ConfigurationSchedulersClustered`
|
If this configuration option is undefined, then the described feature is not
|
||||||
is present, then it is used as the scheduler for exactly one processor.
|
enabled.
|
||||||
|
|
||||||
|
.. rubric:: DESCRIPTION:
|
||||||
|
|
||||||
|
In case this configuration option is defined, then the
|
||||||
|
:ref:`SchedulerPrioritySimple`
|
||||||
|
algorithm is made available to the application.
|
||||||
|
|
||||||
|
.. rubric:: NOTES:
|
||||||
|
|
||||||
|
This scheduler configuration option is an advanced configuration option.
|
||||||
|
Think twice before you use it.
|
||||||
|
|
||||||
|
In case no explicit :ref:`ConfigurationSchedulersClustered`
|
||||||
|
is present, then it is used as the scheduler for exactly one processor.
|
||||||
|
|
||||||
.. Generated from spec:/acfg/if/scheduler-simple-smp
|
.. Generated from spec:/acfg/if/scheduler-simple-smp
|
||||||
|
|
||||||
|
.. raw:: latex
|
||||||
|
|
||||||
|
\clearpage
|
||||||
|
|
||||||
.. index:: CONFIGURE_SCHEDULER_SIMPLE_SMP
|
.. index:: CONFIGURE_SCHEDULER_SIMPLE_SMP
|
||||||
|
|
||||||
.. _CONFIGURE_SCHEDULER_SIMPLE_SMP:
|
.. _CONFIGURE_SCHEDULER_SIMPLE_SMP:
|
||||||
@ -490,33 +596,42 @@ NOTES:
|
|||||||
CONFIGURE_SCHEDULER_SIMPLE_SMP
|
CONFIGURE_SCHEDULER_SIMPLE_SMP
|
||||||
------------------------------
|
------------------------------
|
||||||
|
|
||||||
CONSTANT:
|
.. rubric:: CONSTANT:
|
||||||
``CONFIGURE_SCHEDULER_SIMPLE_SMP``
|
|
||||||
|
|
||||||
OPTION TYPE:
|
``CONFIGURE_SCHEDULER_SIMPLE_SMP``
|
||||||
This configuration option is a boolean feature define.
|
|
||||||
|
|
||||||
DEFAULT CONFIGURATION:
|
.. rubric:: OPTION TYPE:
|
||||||
If this configuration option is undefined, then the described feature is not
|
|
||||||
enabled.
|
|
||||||
|
|
||||||
DESCRIPTION:
|
This configuration option is a boolean feature define.
|
||||||
In case this configuration option is defined, then the
|
|
||||||
:ref:`SchedulerSMPPrioritySimple`
|
|
||||||
algorithm is made available to the application.
|
|
||||||
|
|
||||||
NOTES:
|
.. rubric:: DEFAULT CONFIGURATION:
|
||||||
This scheduler configuration option is an advanced configuration option.
|
|
||||||
Think twice before you use it.
|
|
||||||
|
|
||||||
This scheduler algorithm is only available when RTEMS is built with SMP
|
If this configuration option is undefined, then the described feature is not
|
||||||
support enabled.
|
enabled.
|
||||||
|
|
||||||
In case no explicit :ref:`ConfigurationSchedulersClustered`
|
.. rubric:: DESCRIPTION:
|
||||||
is present, then it is used as the scheduler for up to 32 processors.
|
|
||||||
|
In case this configuration option is defined, then the
|
||||||
|
:ref:`SchedulerSMPPrioritySimple`
|
||||||
|
algorithm is made available to the application.
|
||||||
|
|
||||||
|
.. rubric:: NOTES:
|
||||||
|
|
||||||
|
This scheduler configuration option is an advanced configuration option.
|
||||||
|
Think twice before you use it.
|
||||||
|
|
||||||
|
This scheduler algorithm is only available when RTEMS is built with SMP
|
||||||
|
support enabled.
|
||||||
|
|
||||||
|
In case no explicit :ref:`ConfigurationSchedulersClustered`
|
||||||
|
is present, then it is used as the scheduler for up to 32 processors.
|
||||||
|
|
||||||
.. Generated from spec:/acfg/if/scheduler-strong-apa
|
.. Generated from spec:/acfg/if/scheduler-strong-apa
|
||||||
|
|
||||||
|
.. raw:: latex
|
||||||
|
|
||||||
|
\clearpage
|
||||||
|
|
||||||
.. index:: CONFIGURE_SCHEDULER_STRONG_APA
|
.. index:: CONFIGURE_SCHEDULER_STRONG_APA
|
||||||
|
|
||||||
.. _CONFIGURE_SCHEDULER_STRONG_APA:
|
.. _CONFIGURE_SCHEDULER_STRONG_APA:
|
||||||
@ -524,31 +639,40 @@ NOTES:
|
|||||||
CONFIGURE_SCHEDULER_STRONG_APA
|
CONFIGURE_SCHEDULER_STRONG_APA
|
||||||
------------------------------
|
------------------------------
|
||||||
|
|
||||||
CONSTANT:
|
.. rubric:: CONSTANT:
|
||||||
``CONFIGURE_SCHEDULER_STRONG_APA``
|
|
||||||
|
|
||||||
OPTION TYPE:
|
``CONFIGURE_SCHEDULER_STRONG_APA``
|
||||||
This configuration option is a boolean feature define.
|
|
||||||
|
|
||||||
DEFAULT CONFIGURATION:
|
.. rubric:: OPTION TYPE:
|
||||||
If this configuration option is undefined, then the described feature is not
|
|
||||||
enabled.
|
|
||||||
|
|
||||||
DESCRIPTION:
|
This configuration option is a boolean feature define.
|
||||||
In case this configuration option is defined, then the Strong APA algorithm
|
|
||||||
is made available to the application.
|
|
||||||
|
|
||||||
NOTES:
|
.. rubric:: DEFAULT CONFIGURATION:
|
||||||
This scheduler configuration option is an advanced configuration option.
|
|
||||||
Think twice before you use it.
|
|
||||||
|
|
||||||
This scheduler algorithm is only available when RTEMS is built with SMP
|
If this configuration option is undefined, then the described feature is not
|
||||||
support enabled.
|
enabled.
|
||||||
|
|
||||||
This scheduler algorithm is not correctly implemented. Do not use it.
|
.. rubric:: DESCRIPTION:
|
||||||
|
|
||||||
|
In case this configuration option is defined, then the Strong APA algorithm
|
||||||
|
is made available to the application.
|
||||||
|
|
||||||
|
.. rubric:: NOTES:
|
||||||
|
|
||||||
|
This scheduler configuration option is an advanced configuration option.
|
||||||
|
Think twice before you use it.
|
||||||
|
|
||||||
|
This scheduler algorithm is only available when RTEMS is built with SMP
|
||||||
|
support enabled.
|
||||||
|
|
||||||
|
This scheduler algorithm is not correctly implemented. Do not use it.
|
||||||
|
|
||||||
.. Generated from spec:/acfg/if/scheduler-user
|
.. Generated from spec:/acfg/if/scheduler-user
|
||||||
|
|
||||||
|
.. raw:: latex
|
||||||
|
|
||||||
|
\clearpage
|
||||||
|
|
||||||
.. index:: CONFIGURE_SCHEDULER_USER
|
.. index:: CONFIGURE_SCHEDULER_USER
|
||||||
|
|
||||||
.. _CONFIGURE_SCHEDULER_USER:
|
.. _CONFIGURE_SCHEDULER_USER:
|
||||||
@ -556,42 +680,47 @@ NOTES:
|
|||||||
CONFIGURE_SCHEDULER_USER
|
CONFIGURE_SCHEDULER_USER
|
||||||
------------------------
|
------------------------
|
||||||
|
|
||||||
CONSTANT:
|
.. rubric:: CONSTANT:
|
||||||
``CONFIGURE_SCHEDULER_USER``
|
|
||||||
|
|
||||||
OPTION TYPE:
|
``CONFIGURE_SCHEDULER_USER``
|
||||||
This configuration option is a boolean feature define.
|
|
||||||
|
|
||||||
DEFAULT CONFIGURATION:
|
.. rubric:: OPTION TYPE:
|
||||||
If this configuration option is undefined, then the described feature is not
|
|
||||||
enabled.
|
|
||||||
|
|
||||||
DESCRIPTION:
|
This configuration option is a boolean feature define.
|
||||||
In case this configuration option is defined, then the user shall provide a
|
|
||||||
scheduler algorithm to the application.
|
|
||||||
|
|
||||||
NOTES:
|
.. rubric:: DEFAULT CONFIGURATION:
|
||||||
This scheduler configuration option is an advanced configuration option.
|
|
||||||
Think twice before you use it.
|
|
||||||
|
|
||||||
RTEMS allows the application to provide its own task/thread scheduling
|
If this configuration option is undefined, then the described feature is not
|
||||||
algorithm. In order to do this, one shall define
|
enabled.
|
||||||
``CONFIGURE_SCHEDULER_USER`` to indicate the application provides its own
|
|
||||||
scheduling algorithm. If ``CONFIGURE_SCHEDULER_USER`` is defined then the
|
|
||||||
following additional macros shall be defined:
|
|
||||||
|
|
||||||
* ``CONFIGURE_SCHEDULER`` shall be defined to a static definition of
|
.. rubric:: DESCRIPTION:
|
||||||
|
|
||||||
|
In case this configuration option is defined, then the user shall provide a
|
||||||
|
scheduler algorithm to the application.
|
||||||
|
|
||||||
|
.. rubric:: NOTES:
|
||||||
|
|
||||||
|
This scheduler configuration option is an advanced configuration option.
|
||||||
|
Think twice before you use it.
|
||||||
|
|
||||||
|
RTEMS allows the application to provide its own task/thread scheduling
|
||||||
|
algorithm. In order to do this, one shall define
|
||||||
|
``CONFIGURE_SCHEDULER_USER`` to indicate the application provides its own
|
||||||
|
scheduling algorithm. If ``CONFIGURE_SCHEDULER_USER`` is defined then the
|
||||||
|
following additional macros shall be defined:
|
||||||
|
|
||||||
|
* ``CONFIGURE_SCHEDULER`` shall be defined to a static definition of
|
||||||
the scheduler data structures of the user scheduler.
|
the scheduler data structures of the user scheduler.
|
||||||
|
|
||||||
* ``CONFIGURE_SCHEDULER_TABLE_ENTRIES`` shall be defined to a scheduler
|
* ``CONFIGURE_SCHEDULER_TABLE_ENTRIES`` shall be defined to a scheduler
|
||||||
table entry initializer for the user scheduler.
|
table entry initializer for the user scheduler.
|
||||||
|
|
||||||
* ``CONFIGURE_SCHEDULER_USER_PER_THREAD`` shall be defined to the type of
|
* ``CONFIGURE_SCHEDULER_USER_PER_THREAD`` shall be defined to the type of
|
||||||
the per-thread information of the user scheduler.
|
the per-thread information of the user scheduler.
|
||||||
|
|
||||||
At this time, the mechanics and requirements for writing a new scheduler
|
At this time, the mechanics and requirements for writing a new scheduler
|
||||||
are evolving and not fully documented. It is recommended that you look at
|
are evolving and not fully documented. It is recommended that you look at
|
||||||
the existing Deterministic Priority Scheduler in
|
the existing Deterministic Priority Scheduler in
|
||||||
``cpukit/score/src/schedulerpriority*.c`` for guidance. For guidance on
|
``cpukit/score/src/schedulerpriority*.c`` for guidance. For guidance on
|
||||||
the configuration macros, please examine ``cpukit/sapi/include/confdefs.h``
|
the configuration macros, please examine ``cpukit/sapi/include/confdefs.h``
|
||||||
for how these are defined for the Deterministic Priority Scheduler.
|
for how these are defined for the Deterministic Priority Scheduler.
|
||||||
|
@ -31,6 +31,10 @@ overflows are detected in hardware.
|
|||||||
|
|
||||||
.. Generated from spec:/acfg/if/task-stack-allocator
|
.. Generated from spec:/acfg/if/task-stack-allocator
|
||||||
|
|
||||||
|
.. raw:: latex
|
||||||
|
|
||||||
|
\clearpage
|
||||||
|
|
||||||
.. index:: CONFIGURE_TASK_STACK_ALLOCATOR
|
.. index:: CONFIGURE_TASK_STACK_ALLOCATOR
|
||||||
.. index:: task stack allocator
|
.. index:: task stack allocator
|
||||||
|
|
||||||
@ -39,35 +43,45 @@ overflows are detected in hardware.
|
|||||||
CONFIGURE_TASK_STACK_ALLOCATOR
|
CONFIGURE_TASK_STACK_ALLOCATOR
|
||||||
------------------------------
|
------------------------------
|
||||||
|
|
||||||
CONSTANT:
|
.. rubric:: CONSTANT:
|
||||||
``CONFIGURE_TASK_STACK_ALLOCATOR``
|
|
||||||
|
|
||||||
OPTION TYPE:
|
``CONFIGURE_TASK_STACK_ALLOCATOR``
|
||||||
This configuration option is an initializer define.
|
|
||||||
|
|
||||||
DEFAULT VALUE:
|
.. rubric:: OPTION TYPE:
|
||||||
The default value is ``_Workspace_Allocate``, which indicates that task
|
|
||||||
stacks will be allocated from the RTEMS Workspace.
|
|
||||||
|
|
||||||
VALUE CONSTRAINTS:
|
This configuration option is an initializer define.
|
||||||
The value of this configuration option shall be defined to a valid function
|
|
||||||
pointer of the type ``void *( *allocate )( size_t )``.
|
|
||||||
|
|
||||||
DESCRIPTION:
|
.. rubric:: DEFAULT VALUE:
|
||||||
The value of this configuration option initializes the stack allocator
|
|
||||||
allocate handler.
|
|
||||||
|
|
||||||
NOTES:
|
The default value is ``_Workspace_Allocate``, which indicates that task
|
||||||
A correctly configured system shall configure the following to be consistent:
|
stacks will be allocated from the RTEMS Workspace.
|
||||||
|
|
||||||
* :ref:`CONFIGURE_TASK_STACK_ALLOCATOR_INIT`
|
.. rubric:: DESCRIPTION:
|
||||||
|
|
||||||
* ``CONFIGURE_TASK_STACK_ALLOCATOR``
|
The value of this configuration option initializes the stack allocator
|
||||||
|
allocate handler.
|
||||||
|
|
||||||
* :ref:`CONFIGURE_TASK_STACK_DEALLOCATOR`
|
.. rubric:: NOTES:
|
||||||
|
|
||||||
|
A correctly configured system shall configure the following to be consistent:
|
||||||
|
|
||||||
|
* :ref:`CONFIGURE_TASK_STACK_ALLOCATOR_INIT`
|
||||||
|
|
||||||
|
* ``CONFIGURE_TASK_STACK_ALLOCATOR``
|
||||||
|
|
||||||
|
* :ref:`CONFIGURE_TASK_STACK_DEALLOCATOR`
|
||||||
|
|
||||||
|
.. rubric:: CONSTRAINTS:
|
||||||
|
|
||||||
|
The value of the configuration option shall be defined to a valid function
|
||||||
|
pointer of the type ``void *( *allocate )( size_t )``.
|
||||||
|
|
||||||
.. Generated from spec:/acfg/if/task-stack-no-workspace
|
.. Generated from spec:/acfg/if/task-stack-no-workspace
|
||||||
|
|
||||||
|
.. raw:: latex
|
||||||
|
|
||||||
|
\clearpage
|
||||||
|
|
||||||
.. index:: CONFIGURE_TASK_STACK_ALLOCATOR_AVOIDS_WORK_SPACE
|
.. index:: CONFIGURE_TASK_STACK_ALLOCATOR_AVOIDS_WORK_SPACE
|
||||||
|
|
||||||
.. _CONFIGURE_TASK_STACK_ALLOCATOR_AVOIDS_WORK_SPACE:
|
.. _CONFIGURE_TASK_STACK_ALLOCATOR_AVOIDS_WORK_SPACE:
|
||||||
@ -75,26 +89,35 @@ NOTES:
|
|||||||
CONFIGURE_TASK_STACK_ALLOCATOR_AVOIDS_WORK_SPACE
|
CONFIGURE_TASK_STACK_ALLOCATOR_AVOIDS_WORK_SPACE
|
||||||
------------------------------------------------
|
------------------------------------------------
|
||||||
|
|
||||||
CONSTANT:
|
.. rubric:: CONSTANT:
|
||||||
``CONFIGURE_TASK_STACK_ALLOCATOR_AVOIDS_WORK_SPACE``
|
|
||||||
|
|
||||||
OPTION TYPE:
|
``CONFIGURE_TASK_STACK_ALLOCATOR_AVOIDS_WORK_SPACE``
|
||||||
This configuration option is a boolean feature define.
|
|
||||||
|
|
||||||
DEFAULT CONFIGURATION:
|
.. rubric:: OPTION TYPE:
|
||||||
If this configuration option is undefined, then the described feature is not
|
|
||||||
enabled.
|
|
||||||
|
|
||||||
DESCRIPTION:
|
This configuration option is a boolean feature define.
|
||||||
In case this configuration option is defined, then the system is informed
|
|
||||||
that the task stack allocator does not use the RTEMS Workspace.
|
|
||||||
|
|
||||||
NOTES:
|
.. rubric:: DEFAULT CONFIGURATION:
|
||||||
This configuration option may be used if a custom task stack allocator is
|
|
||||||
configured, see :ref:`CONFIGURE_TASK_STACK_ALLOCATOR`.
|
If this configuration option is undefined, then the described feature is not
|
||||||
|
enabled.
|
||||||
|
|
||||||
|
.. rubric:: DESCRIPTION:
|
||||||
|
|
||||||
|
In case this configuration option is defined, then the system is informed
|
||||||
|
that the task stack allocator does not use the RTEMS Workspace.
|
||||||
|
|
||||||
|
.. rubric:: NOTES:
|
||||||
|
|
||||||
|
This configuration option may be used if a custom task stack allocator is
|
||||||
|
configured, see :ref:`CONFIGURE_TASK_STACK_ALLOCATOR`.
|
||||||
|
|
||||||
.. Generated from spec:/acfg/if/task-stack-allocator-for-idle
|
.. Generated from spec:/acfg/if/task-stack-allocator-for-idle
|
||||||
|
|
||||||
|
.. raw:: latex
|
||||||
|
|
||||||
|
\clearpage
|
||||||
|
|
||||||
.. index:: CONFIGURE_TASK_STACK_ALLOCATOR_FOR_IDLE
|
.. index:: CONFIGURE_TASK_STACK_ALLOCATOR_FOR_IDLE
|
||||||
.. index:: task stack allocator for IDLE tasks
|
.. index:: task stack allocator for IDLE tasks
|
||||||
|
|
||||||
@ -103,34 +126,44 @@ NOTES:
|
|||||||
CONFIGURE_TASK_STACK_ALLOCATOR_FOR_IDLE
|
CONFIGURE_TASK_STACK_ALLOCATOR_FOR_IDLE
|
||||||
---------------------------------------
|
---------------------------------------
|
||||||
|
|
||||||
CONSTANT:
|
.. rubric:: CONSTANT:
|
||||||
``CONFIGURE_TASK_STACK_ALLOCATOR_FOR_IDLE``
|
|
||||||
|
|
||||||
OPTION TYPE:
|
``CONFIGURE_TASK_STACK_ALLOCATOR_FOR_IDLE``
|
||||||
This configuration option is an initializer define.
|
|
||||||
|
|
||||||
DEFAULT VALUE:
|
.. rubric:: OPTION TYPE:
|
||||||
The default value is ``_Stack_Allocator_allocate_for_idle_default``, which
|
|
||||||
indicates that IDLE task stacks will be allocated from an area statically
|
|
||||||
allocated by ``<rtems/confdefs.h>``.
|
|
||||||
|
|
||||||
VALUE CONSTRAINTS:
|
This configuration option is an initializer define.
|
||||||
The value of this configuration option shall be defined to a valid function
|
|
||||||
pointer of the type ``void *( *allocate )( uint32_t, size_t )``.
|
|
||||||
|
|
||||||
DESCRIPTION:
|
.. rubric:: DEFAULT VALUE:
|
||||||
The value of this configuration option is the address for the stack allocator
|
|
||||||
allocate handler used to allocate the task stack of each
|
|
||||||
:term:`IDLE task`.
|
|
||||||
|
|
||||||
NOTES:
|
The default value is ``_Stack_Allocator_allocate_for_idle_default``, which
|
||||||
This configuration option is independent of the other thread stack allocator
|
indicates that IDLE task stacks will be allocated from an area statically
|
||||||
configuration options. It is assumed that any memory allocated for the stack
|
allocated by ``<rtems/confdefs.h>``.
|
||||||
of an :term:`IDLE task` will not be from the RTEMS Workspace or the
|
|
||||||
memory statically allocated by default.
|
.. rubric:: DESCRIPTION:
|
||||||
|
|
||||||
|
The value of this configuration option is the address for the stack allocator
|
||||||
|
allocate handler used to allocate the task stack of each
|
||||||
|
:term:`IDLE task`.
|
||||||
|
|
||||||
|
.. rubric:: NOTES:
|
||||||
|
|
||||||
|
This configuration option is independent of the other thread stack allocator
|
||||||
|
configuration options. It is assumed that any memory allocated for the stack
|
||||||
|
of an :term:`IDLE task` will not be from the RTEMS Workspace or the
|
||||||
|
memory statically allocated by default.
|
||||||
|
|
||||||
|
.. rubric:: CONSTRAINTS:
|
||||||
|
|
||||||
|
The value of the configuration option shall be defined to a valid function
|
||||||
|
pointer of the type ``void *( *allocate )( uint32_t, size_t )``.
|
||||||
|
|
||||||
.. Generated from spec:/acfg/if/task-stack-allocator-init
|
.. Generated from spec:/acfg/if/task-stack-allocator-init
|
||||||
|
|
||||||
|
.. raw:: latex
|
||||||
|
|
||||||
|
\clearpage
|
||||||
|
|
||||||
.. index:: CONFIGURE_TASK_STACK_ALLOCATOR_INIT
|
.. index:: CONFIGURE_TASK_STACK_ALLOCATOR_INIT
|
||||||
|
|
||||||
.. _CONFIGURE_TASK_STACK_ALLOCATOR_INIT:
|
.. _CONFIGURE_TASK_STACK_ALLOCATOR_INIT:
|
||||||
@ -138,35 +171,45 @@ NOTES:
|
|||||||
CONFIGURE_TASK_STACK_ALLOCATOR_INIT
|
CONFIGURE_TASK_STACK_ALLOCATOR_INIT
|
||||||
-----------------------------------
|
-----------------------------------
|
||||||
|
|
||||||
CONSTANT:
|
.. rubric:: CONSTANT:
|
||||||
``CONFIGURE_TASK_STACK_ALLOCATOR_INIT``
|
|
||||||
|
|
||||||
OPTION TYPE:
|
``CONFIGURE_TASK_STACK_ALLOCATOR_INIT``
|
||||||
This configuration option is an initializer define.
|
|
||||||
|
|
||||||
DEFAULT VALUE:
|
.. rubric:: OPTION TYPE:
|
||||||
The default value is `NULL <https://en.cppreference.com/w/c/types/NULL>`_.
|
|
||||||
|
|
||||||
VALUE CONSTRAINTS:
|
This configuration option is an initializer define.
|
||||||
The value of this configuration option shall be defined to a valid function
|
|
||||||
pointer of the type ``void ( *initialize )( size_t )`` or to `NULL
|
|
||||||
<https://en.cppreference.com/w/c/types/NULL>`_.
|
|
||||||
|
|
||||||
DESCRIPTION:
|
.. rubric:: DEFAULT VALUE:
|
||||||
The value of this configuration option initializes the stack allocator
|
|
||||||
initialization handler.
|
|
||||||
|
|
||||||
NOTES:
|
The default value is `NULL <https://en.cppreference.com/w/c/types/NULL>`_.
|
||||||
A correctly configured system shall configure the following to be consistent:
|
|
||||||
|
|
||||||
* ``CONFIGURE_TASK_STACK_ALLOCATOR_INIT``
|
.. rubric:: DESCRIPTION:
|
||||||
|
|
||||||
* :ref:`CONFIGURE_TASK_STACK_ALLOCATOR`
|
The value of this configuration option initializes the stack allocator
|
||||||
|
initialization handler.
|
||||||
|
|
||||||
* :ref:`CONFIGURE_TASK_STACK_DEALLOCATOR`
|
.. rubric:: NOTES:
|
||||||
|
|
||||||
|
A correctly configured system shall configure the following to be consistent:
|
||||||
|
|
||||||
|
* ``CONFIGURE_TASK_STACK_ALLOCATOR_INIT``
|
||||||
|
|
||||||
|
* :ref:`CONFIGURE_TASK_STACK_ALLOCATOR`
|
||||||
|
|
||||||
|
* :ref:`CONFIGURE_TASK_STACK_DEALLOCATOR`
|
||||||
|
|
||||||
|
.. rubric:: CONSTRAINTS:
|
||||||
|
|
||||||
|
The value of the configuration option shall be defined to a valid function
|
||||||
|
pointer of the type ``void ( *initialize )( size_t )`` or to `NULL
|
||||||
|
<https://en.cppreference.com/w/c/types/NULL>`_.
|
||||||
|
|
||||||
.. Generated from spec:/acfg/if/task-stack-deallocator
|
.. Generated from spec:/acfg/if/task-stack-deallocator
|
||||||
|
|
||||||
|
.. raw:: latex
|
||||||
|
|
||||||
|
\clearpage
|
||||||
|
|
||||||
.. index:: CONFIGURE_TASK_STACK_DEALLOCATOR
|
.. index:: CONFIGURE_TASK_STACK_DEALLOCATOR
|
||||||
.. index:: task stack deallocator
|
.. index:: task stack deallocator
|
||||||
|
|
||||||
@ -175,35 +218,45 @@ NOTES:
|
|||||||
CONFIGURE_TASK_STACK_DEALLOCATOR
|
CONFIGURE_TASK_STACK_DEALLOCATOR
|
||||||
--------------------------------
|
--------------------------------
|
||||||
|
|
||||||
CONSTANT:
|
.. rubric:: CONSTANT:
|
||||||
``CONFIGURE_TASK_STACK_DEALLOCATOR``
|
|
||||||
|
|
||||||
OPTION TYPE:
|
``CONFIGURE_TASK_STACK_DEALLOCATOR``
|
||||||
This configuration option is an initializer define.
|
|
||||||
|
|
||||||
DEFAULT VALUE:
|
.. rubric:: OPTION TYPE:
|
||||||
The default value is ``_Workspace_Free``, which indicates that task stacks
|
|
||||||
will be allocated from the RTEMS Workspace.
|
|
||||||
|
|
||||||
VALUE CONSTRAINTS:
|
This configuration option is an initializer define.
|
||||||
The value of this configuration option shall be defined to a valid function
|
|
||||||
pointer of the type ``void ( *deallocate )( void * )``.
|
|
||||||
|
|
||||||
DESCRIPTION:
|
.. rubric:: DEFAULT VALUE:
|
||||||
The value of this configuration option initializes the stack allocator
|
|
||||||
deallocate handler.
|
|
||||||
|
|
||||||
NOTES:
|
The default value is ``_Workspace_Free``, which indicates that task stacks
|
||||||
A correctly configured system shall configure the following to be consistent:
|
will be allocated from the RTEMS Workspace.
|
||||||
|
|
||||||
* :ref:`CONFIGURE_TASK_STACK_ALLOCATOR_INIT`
|
.. rubric:: DESCRIPTION:
|
||||||
|
|
||||||
* :ref:`CONFIGURE_TASK_STACK_ALLOCATOR`
|
The value of this configuration option initializes the stack allocator
|
||||||
|
deallocate handler.
|
||||||
|
|
||||||
* ``CONFIGURE_TASK_STACK_DEALLOCATOR``
|
.. rubric:: NOTES:
|
||||||
|
|
||||||
|
A correctly configured system shall configure the following to be consistent:
|
||||||
|
|
||||||
|
* :ref:`CONFIGURE_TASK_STACK_ALLOCATOR_INIT`
|
||||||
|
|
||||||
|
* :ref:`CONFIGURE_TASK_STACK_ALLOCATOR`
|
||||||
|
|
||||||
|
* ``CONFIGURE_TASK_STACK_DEALLOCATOR``
|
||||||
|
|
||||||
|
.. rubric:: CONSTRAINTS:
|
||||||
|
|
||||||
|
The value of the configuration option shall be defined to a valid function
|
||||||
|
pointer of the type ``void ( *deallocate )( void * )``.
|
||||||
|
|
||||||
.. Generated from spec:/acfg/if/task-stack-from-alloc
|
.. Generated from spec:/acfg/if/task-stack-from-alloc
|
||||||
|
|
||||||
|
.. raw:: latex
|
||||||
|
|
||||||
|
\clearpage
|
||||||
|
|
||||||
.. index:: CONFIGURE_TASK_STACK_FROM_ALLOCATOR
|
.. index:: CONFIGURE_TASK_STACK_FROM_ALLOCATOR
|
||||||
.. index:: task stack allocator
|
.. index:: task stack allocator
|
||||||
|
|
||||||
@ -212,26 +265,31 @@ NOTES:
|
|||||||
CONFIGURE_TASK_STACK_FROM_ALLOCATOR
|
CONFIGURE_TASK_STACK_FROM_ALLOCATOR
|
||||||
-----------------------------------
|
-----------------------------------
|
||||||
|
|
||||||
CONSTANT:
|
.. rubric:: CONSTANT:
|
||||||
``CONFIGURE_TASK_STACK_FROM_ALLOCATOR``
|
|
||||||
|
|
||||||
OPTION TYPE:
|
``CONFIGURE_TASK_STACK_FROM_ALLOCATOR``
|
||||||
This configuration option is an initializer define.
|
|
||||||
|
|
||||||
DEFAULT VALUE:
|
.. rubric:: OPTION TYPE:
|
||||||
The default value is a macro which supports the system heap allocator.
|
|
||||||
|
|
||||||
VALUE CONSTRAINTS:
|
This configuration option is an initializer define.
|
||||||
The value of this configuration option shall be defined to a macro which
|
|
||||||
accepts exactly one parameter and returns an unsigned integer. The
|
|
||||||
parameter will be an allocation size and the macro shall return this size
|
|
||||||
plus the overhead of the allocator to manage an allocation request for this
|
|
||||||
size.
|
|
||||||
|
|
||||||
DESCRIPTION:
|
.. rubric:: DEFAULT VALUE:
|
||||||
The value of this configuration option is used to calculate the task stack
|
|
||||||
space size.
|
|
||||||
|
|
||||||
NOTES:
|
The default value is a macro which supports the system heap allocator.
|
||||||
This configuration option may be used if a custom task stack allocator is
|
|
||||||
configured, see :ref:`CONFIGURE_TASK_STACK_ALLOCATOR`.
|
.. rubric:: DESCRIPTION:
|
||||||
|
|
||||||
|
The value of this configuration option is used to calculate the task stack
|
||||||
|
space size.
|
||||||
|
|
||||||
|
.. rubric:: NOTES:
|
||||||
|
|
||||||
|
This configuration option may be used if a custom task stack allocator is
|
||||||
|
configured, see :ref:`CONFIGURE_TASK_STACK_ALLOCATOR`.
|
||||||
|
|
||||||
|
.. rubric:: CONSTRAINTS:
|
||||||
|
|
||||||
|
The value of the configuration option shall be defined to a macro which accepts
|
||||||
|
exactly one parameter and returns an unsigned integer. The parameter will be
|
||||||
|
an allocation size and the macro shall return this size plus the overhead of
|
||||||
|
the allocator to manage an allocation request for this size.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user