[PATCH 5/5] c-user: CONFIGURE_LIBIO_MAXIMUM_FILE_DESCRIPTORS

Joel Sherrill joel at rtems.org
Tue Dec 10 14:01:38 UTC 2019


FWIW I have long wanted this to be renamed
CONFIGURE_MAXIMUM_FILE_DESCRIPTORS. Without LIBIO. Provide the old name for
a while for transition.

On Tue, Dec 10, 2019, 7:11 AM Sebastian Huber <
sebastian.huber at embedded-brains.de> wrote:

> Move CONFIGURE_LIBIO_MAXIMUM_FILE_DESCRIPTORS to general system
> configuration.  Remove now empty "C Library Support Configuration"
> section.
>
> Update #3836.
> ---
>  c-user/configuring_a_system.rst | 66
> +++++++++++++++++++----------------------
>  1 file changed, 30 insertions(+), 36 deletions(-)
>
> diff --git a/c-user/configuring_a_system.rst
> b/c-user/configuring_a_system.rst
> index 00973be..51a66b8 100644
> --- a/c-user/configuring_a_system.rst
> +++ b/c-user/configuring_a_system.rst
> @@ -529,6 +529,36 @@ NOTES:
>      :ref:`CONFIGURE_MINIMUM_TASK_STACK_SIZE
>      <CONFIGURE_MINIMUM_TASK_STACK_SIZE>` instead of
> ``CPU_STACK_MINIMUM_SIZE``.
>
> +.. index:: CONFIGURE_LIBIO_MAXIMUM_FILE_DESCRIPTORS
> +.. index:: maximum file descriptors
> +
> +.. _CONFIGURE_LIBIO_MAXIMUM_FILE_DESCRIPTORS:
> +
> +CONFIGURE_LIBIO_MAXIMUM_FILE_DESCRIPTORS
> +----------------------------------------
> +
> +CONSTANT:
> +    ``CONFIGURE_LIBIO_MAXIMUM_FILE_DESCRIPTORS``
> +
> +DATA TYPE:
> +    Unsigned integer (``uint32_t``).
> +
> +RANGE:
> +    Zero or positive.
> +
> +DEFAULT VALUE:
> +    If ``CONFIGURE_APPLICATION_NEEDS_CONSOLE_DRIVER`` is defined, then the
> +    default value is 3, otherwise the default value is 0.  Three file
> +    descriptors allows RTEMS to support standard input, output, and error
> I/O
> +    streams on ``/dev/console``.
> +
> +DESCRIPTION:
> +    This configuration parameter is set to the maximum number of file like
> +    objects that can be concurrently open.
> +
> +NOTES:
> +    None.
> +
>  .. index:: CONFIGURE_MAXIMUM_PRIORITY
>  .. index:: maximum priority
>  .. index:: number of priority levels
> @@ -2099,42 +2129,6 @@ NOTES:
>                           500, sizeof(other_message_type) \
>                       )
>
> -C Library Support Configuration
> -===============================
> -
> -This section defines the file system and IO library related configuration
> -parameters supported by ``<rtems/confdefs.h>``.
> -
> -.. index:: CONFIGURE_LIBIO_MAXIMUM_FILE_DESCRIPTORS
> -.. index:: maximum file descriptors
> -
> -.. _CONFIGURE_LIBIO_MAXIMUM_FILE_DESCRIPTORS:
> -
> -CONFIGURE_LIBIO_MAXIMUM_FILE_DESCRIPTORS
> -----------------------------------------
> -
> -CONSTANT:
> -    ``CONFIGURE_LIBIO_MAXIMUM_FILE_DESCRIPTORS``
> -
> -DATA TYPE:
> -    Unsigned integer (``uint32_t``).
> -
> -RANGE:
> -    Zero or positive.
> -
> -DEFAULT VALUE:
> -    If ``CONFIGURE_APPLICATION_NEEDS_CONSOLE_DRIVER`` is defined, then the
> -    default value is 3, otherwise the default value is 0.  Three file
> -    descriptors allows RTEMS to support standard input, output, and error
> I/O
> -    streams on ``/dev/console``.
> -
> -DESCRIPTION:
> -    This configuration parameter is set to the maximum number of file like
> -    objects that can be concurrently open.
> -
> -NOTES:
> -    None.
> -
>  File System Configuration Parameters
>  ====================================
>
> --
> 2.16.4
>
> _______________________________________________
> devel mailing list
> devel at rtems.org
> http://lists.rtems.org/mailman/listinfo/devel
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rtems.org/pipermail/devel/attachments/20191210/e75bc7f3/attachment.html>


More information about the devel mailing list