From 6692946100096d567b695f035e128ddcb09ffa4a Mon Sep 17 00:00:00 2001 From: Sebastian Huber Date: Tue, 25 Jul 2023 07:36:09 +0200 Subject: c-user: Link task entry and global construction --- c-user/config/classic-init-task.rst | 5 ++++- c-user/config/idle-task.rst | 5 ++++- c-user/config/posix-init-thread.rst | 5 ++++- 3 files changed, 12 insertions(+), 3 deletions(-) (limited to 'c-user/config') diff --git a/c-user/config/classic-init-task.rst b/c-user/config/classic-init-task.rst index a104008..f65bb8a 100644 --- a/c-user/config/classic-init-task.rst +++ b/c-user/config/classic-init-task.rst @@ -401,7 +401,7 @@ initialization task is configured. .. rubric:: NOTES: -The application shall define exactly one of the following configuration +The application shall define at least one of the following configuration options * ``CONFIGURE_RTEMS_INIT_TASKS_TABLE``, @@ -411,3 +411,6 @@ options * :ref:`CONFIGURE_IDLE_TASK_INITIALIZES_APPLICATION` otherwise a compile time error in the configuration file will occur. + +The Classic API initialization task performs the +:ref:`GlobalConstruction`. diff --git a/c-user/config/idle-task.rst b/c-user/config/idle-task.rst index e98ad83..793fb5c 100644 --- a/c-user/config/idle-task.rst +++ b/c-user/config/idle-task.rst @@ -123,7 +123,7 @@ 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 +The application shall define at least one of the following configuration options * :ref:`CONFIGURE_RTEMS_INIT_TASKS_TABLE`, @@ -134,6 +134,9 @@ options otherwise a compile time error in the configuration file will occur. +If no Classic API initialization task and no POSIX API initialization thread +is configured, then no :ref:`GlobalConstruction` is performed. + .. Generated from spec:/acfg/if/idle-task-stack-size .. raw:: latex diff --git a/c-user/config/posix-init-thread.rst b/c-user/config/posix-init-thread.rst index 348a94d..ee09ba0 100644 --- a/c-user/config/posix-init-thread.rst +++ b/c-user/config/posix-init-thread.rst @@ -141,7 +141,7 @@ initialization thread is configured. .. rubric:: NOTES: -The application shall define exactly one of the following configuration +The application shall define at least one of the following configuration options * :ref:`CONFIGURE_RTEMS_INIT_TASKS_TABLE`, @@ -151,3 +151,6 @@ options * :ref:`CONFIGURE_IDLE_TASK_INITIALIZES_APPLICATION` otherwise a compile time error in the configuration file will occur. + +If no Classic API initialization task is configured, then the POSIX API +initialization thread performs the :ref:`GlobalConstruction`. -- cgit v1.2.3