[rtems-docs commit] c-user: Clarify constraints

Sebastian Huber sebh at rtems.org
Mon Mar 8 07:29:20 UTC 2021


Module:    rtems-docs
Branch:    master
Commit:    7918ef8df8c27ceb7cad3ff9f9eb9ecb14ccdd38
Changeset: http://git.rtems.org/rtems-docs/commit/?id=7918ef8df8c27ceb7cad3ff9f9eb9ecb14ccdd38

Author:    Sebastian Huber <sebastian.huber at embedded-brains.de>
Date:      Mon Mar  8 08:15:24 2021 +0100

c-user: Clarify constraints

---

 c-user/config/classic-api.rst | 10 ++++++++--
 1 file changed, 8 insertions(+), 2 deletions(-)

diff --git a/c-user/config/classic-api.rst b/c-user/config/classic-api.rst
index 29dafc0..74a8257 100644
--- a/c-user/config/classic-api.rst
+++ b/c-user/config/classic-api.rst
@@ -411,8 +411,14 @@ DEFAULT VALUE:
     The default value is 0.
 
 VALUE CONSTRAINTS:
-    The value of this configuration option shall be greater than or equal to 0
-    and less than or equal to `SIZE_MAX <https://en.cppreference.com/w/c/types/limits>`_.
+    The value of this configuration option shall satisfy all of the following
+    constraints:
+
+    * It shall be greater than or equal to 0.
+
+    * It shall be less than or equal to `SIZE_MAX <https://en.cppreference.com/w/c/types/limits>`_.
+
+    * It shall be an integral multiple of :c:macro:`RTEMS_TASK_STORAGE_ALIGNMENT`.
 
 DESCRIPTION:
     If the value of this configuration option is greater than zero, then it



More information about the vc mailing list