mirror of
https://git.rtems.org/rtems-docs/
synced 2025-05-15 07:16:37 +08:00
c-user: Document CONFIGURE_INIT
This commit is contained in:
parent
e9603bfb7c
commit
79d05f58d7
@ -1,6 +1,6 @@
|
|||||||
.. SPDX-License-Identifier: CC-BY-SA-4.0
|
.. SPDX-License-Identifier: CC-BY-SA-4.0
|
||||||
|
|
||||||
.. Copyright (C) 2020, 2021 embedded brains GmbH (http://www.embedded-brains.de)
|
.. Copyright (C) 2020, 2023 embedded brains GmbH (http://www.embedded-brains.de)
|
||||||
.. Copyright (C) 1988, 2022 On-Line Applications Research Corporation (OAR)
|
.. Copyright (C) 1988, 2022 On-Line Applications Research Corporation (OAR)
|
||||||
|
|
||||||
.. This file is part of the RTEMS quality process and was automatically
|
.. This file is part of the RTEMS quality process and was automatically
|
||||||
@ -253,6 +253,42 @@ The following constraints apply to this configuration option:
|
|||||||
overflow an integer of type `uintptr_t
|
overflow an integer of type `uintptr_t
|
||||||
<https://en.cppreference.com/w/c/types/integer>`_.
|
<https://en.cppreference.com/w/c/types/integer>`_.
|
||||||
|
|
||||||
|
.. Generated from spec:/acfg/if/init
|
||||||
|
|
||||||
|
.. raw:: latex
|
||||||
|
|
||||||
|
\clearpage
|
||||||
|
|
||||||
|
.. index:: CONFIGURE_INIT
|
||||||
|
|
||||||
|
.. _CONFIGURE_INIT:
|
||||||
|
|
||||||
|
CONFIGURE_INIT
|
||||||
|
--------------
|
||||||
|
|
||||||
|
.. rubric:: CONSTANT:
|
||||||
|
|
||||||
|
``CONFIGURE_INIT``
|
||||||
|
|
||||||
|
.. rubric:: OPTION TYPE:
|
||||||
|
|
||||||
|
This configuration option is a boolean feature define.
|
||||||
|
|
||||||
|
.. rubric:: DEFAULT CONFIGURATION:
|
||||||
|
|
||||||
|
There is no default configuration associated with this configuration option.
|
||||||
|
If ``<rtems/confdefs.h>`` is included and this configuration option is not
|
||||||
|
defined, then only white space is included.
|
||||||
|
|
||||||
|
.. rubric:: DESCRIPTION:
|
||||||
|
|
||||||
|
While this configuration option is defined, when the ``<rtems/confdefs.h>``
|
||||||
|
is included, the system settings defined by present application configuration
|
||||||
|
options are statically allocated and initialized. All user provided
|
||||||
|
application configuration options defined before the include of
|
||||||
|
``<rtems/confdefs.h>`` are evaluated. They define the actual system
|
||||||
|
settings.
|
||||||
|
|
||||||
.. Generated from spec:/acfg/if/initial-extensions
|
.. Generated from spec:/acfg/if/initial-extensions
|
||||||
|
|
||||||
.. raw:: latex
|
.. raw:: latex
|
||||||
|
@ -170,7 +170,7 @@ of these are as follows:
|
|||||||
message queue will have up to twenty (20) messages of type ``struct
|
message queue will have up to twenty (20) messages of type ``struct
|
||||||
USER_MESSAGE``.
|
USER_MESSAGE``.
|
||||||
|
|
||||||
- The ``CONFIGURE_INIT`` constant must be defined in order to make
|
- The :ref:`CONFIGURE_INIT` constant must be defined in order to make
|
||||||
``<rtems/confdefs.h>`` instantiate the configuration data structures. This
|
``<rtems/confdefs.h>`` instantiate the configuration data structures. This
|
||||||
can only be defined in one source file per application that includes
|
can only be defined in one source file per application that includes
|
||||||
``<rtems/confdefs.h>`` or the symbol table will be instantiated multiple
|
``<rtems/confdefs.h>`` or the symbol table will be instantiated multiple
|
||||||
|
Loading…
x
Reference in New Issue
Block a user