[PATCH] c-user: Remove RTEMS_MP_NOT_CONFIGURED error

Sebastian Huber sebastian.huber at embedded-brains.de
Tue Jun 16 05:52:34 UTC 2020


Some objects can be created with a local or global scope in a
multiprocessing network. In non-multiprocessing configurations setting
the scope to local or global had no effect since such a system can be
viewed as a multiprocessing network with just one node. One and all
nodes is the same in such a network. However, if multiprocessing was
configured, creation of a global object in a single node network
resulted in an RTEMS_MP_NOT_CONFIGURED error. Remove this error
condition for symmetry to the non-multiprocessing setup. This is in line
with the task affinity behaviour in SMP systems.

Close #4005.
---
 c-user/message_manager.rst   | 2 --
 c-user/partition_manager.rst | 2 --
 c-user/semaphore_manager.rst | 2 --
 c-user/task_manager.rst      | 2 --
 4 files changed, 8 deletions(-)

diff --git a/c-user/message_manager.rst b/c-user/message_manager.rst
index 0289dca..8115609 100644
--- a/c-user/message_manager.rst
+++ b/c-user/message_manager.rst
@@ -255,8 +255,6 @@ DIRECTIVE STATUS CODES:
        - too many queues created
      * - ``RTEMS_UNSATISFIED``
        - unable to allocate message buffers
-     * - ``RTEMS_MP_NOT_CONFIGURED``
-       - multiprocessing not configured
      * - ``RTEMS_TOO_MANY``
        - too many global objects
 
diff --git a/c-user/partition_manager.rst b/c-user/partition_manager.rst
index 765881f..bc30de2 100644
--- a/c-user/partition_manager.rst
+++ b/c-user/partition_manager.rst
@@ -177,8 +177,6 @@ DIRECTIVE STATUS CODES:
        - ``buffer_size`` is not an integral multiple of the pointer size
      * - ``RTEMS_INVALID_SIZE``
        - ``buffer_size`` is less than two times the pointer size
-     * - ``RTEMS_MP_NOT_CONFIGURED``
-       - multiprocessing not configured
      * - ``RTEMS_TOO_MANY``
        - too many global objects
 
diff --git a/c-user/semaphore_manager.rst b/c-user/semaphore_manager.rst
index 13058f3..31a3c79 100644
--- a/c-user/semaphore_manager.rst
+++ b/c-user/semaphore_manager.rst
@@ -358,8 +358,6 @@ DIRECTIVE STATUS CODES:
        - invalid attribute set
      * - ``RTEMS_INVALID_NUMBER``
        - invalid starting count for binary semaphore
-     * - ``RTEMS_MP_NOT_CONFIGURED``
-       - multiprocessing not configured
      * - ``RTEMS_TOO_MANY``
        - too many global objects
 
diff --git a/c-user/task_manager.rst b/c-user/task_manager.rst
index c3919f4..2db8abc 100644
--- a/c-user/task_manager.rst
+++ b/c-user/task_manager.rst
@@ -671,8 +671,6 @@ DIRECTIVE STATUS CODES:
         - invalid task name
       * - ``RTEMS_INVALID_PRIORITY``
         - invalid task priority
-      * - ``RTEMS_MP_NOT_CONFIGURED``
-        - multiprocessing not configured
       * - ``RTEMS_TOO_MANY``
         - too many tasks created
       * - ``RTEMS_UNSATISFIED``
-- 
2.26.2



More information about the devel mailing list