[rtems-central commit] spec: Adjust acfg constraints

Sebastian Huber sebh at rtems.org
Wed Nov 24 09:17:34 UTC 2021


Module:    rtems-central
Branch:    master
Commit:    98288212f7fa6dbb4370e21e40acd4ab66f6c2f2
Changeset: http://git.rtems.org/rtems-central/commit/?id=98288212f7fa6dbb4370e21e40acd4ab66f6c2f2

Author:    Sebastian Huber <sebastian.huber at embedded-brains.de>
Date:      Wed Nov 24 10:16:52 2021 +0100

spec: Adjust acfg constraints

---

 ...ption-pre-qualified-use.yml => option-pre-qualified-mandatory.yml} | 2 +-
 spec/acfg/constraint/option-pre-qualified-zero.yml                    | 4 ++--
 spec/acfg/if/appl-disable-filesystem.yml                              | 2 ++
 spec/acfg/if/disable-newlib-reentrancy.yml                            | 2 ++
 spec/acfg/if/max-file-descriptors.yml                                 | 2 ++
 5 files changed, 9 insertions(+), 3 deletions(-)

diff --git a/spec/acfg/constraint/option-pre-qualified-use.yml b/spec/acfg/constraint/option-pre-qualified-mandatory.yml
similarity index 86%
rename from spec/acfg/constraint/option-pre-qualified-use.yml
rename to spec/acfg/constraint/option-pre-qualified-mandatory.yml
index 512a16e..0ecb7ca 100644
--- a/spec/acfg/constraint/option-pre-qualified-use.yml
+++ b/spec/acfg/constraint/option-pre-qualified-mandatory.yml
@@ -9,6 +9,6 @@ rationale: null
 text: |
   The application configuration option is mandatory for the pre-qualified
   feature set of RTEMS.  Applications which are restricted to only use
-  interfaces of the pre-qualified feature set of RTEMS shall use the
+  interfaces of the pre-qualified feature set of RTEMS shall define the
   application configuration option.
 type: constraint
diff --git a/spec/acfg/constraint/option-pre-qualified-zero.yml b/spec/acfg/constraint/option-pre-qualified-zero.yml
index d1db6b3..4eaf34f 100644
--- a/spec/acfg/constraint/option-pre-qualified-zero.yml
+++ b/spec/acfg/constraint/option-pre-qualified-zero.yml
@@ -7,8 +7,8 @@ links:
   uid: /req/usage-constraints
 rationale: null
 text: |
-  A value of zero is required for the application configuration option for the
+  A value of zero for the application configuration option is mandatory for the
   pre-qualified feature set of RTEMS.  Applications which are restricted to
   only use interfaces of the pre-qualified feature set of RTEMS shall define
-  the application configuration option to a value equal to zero.
+  the application configuration option to zero.
 type: constraint
diff --git a/spec/acfg/if/appl-disable-filesystem.yml b/spec/acfg/if/appl-disable-filesystem.yml
index 29d2f15..61a56bf 100644
--- a/spec/acfg/if/appl-disable-filesystem.yml
+++ b/spec/acfg/if/appl-disable-filesystem.yml
@@ -17,6 +17,8 @@ links:
   uid: ../req/appl-disable-filesystem
 - role: appl-config-group-member
   uid: group-filesystem
+- role: constraint
+  uid: ../constraint/option-pre-qualified-mandatory
 name: CONFIGURE_APPLICATION_DISABLE_FILESYSTEM
 notes: |
   Filesystems shall be initialized to support file descriptor based device
diff --git a/spec/acfg/if/disable-newlib-reentrancy.yml b/spec/acfg/if/disable-newlib-reentrancy.yml
index 184d948..79d975d 100644
--- a/spec/acfg/if/disable-newlib-reentrancy.yml
+++ b/spec/acfg/if/disable-newlib-reentrancy.yml
@@ -13,6 +13,8 @@ links:
   uid: ../req/disable-newlib-reentrancy
 - role: appl-config-group-member
   uid: group-general
+- role: constraint
+  uid: ../constraint/option-pre-qualified-mandatory
 name: CONFIGURE_DISABLE_NEWLIB_REENTRANCY
 notes: |
   You can enable this option to reduce the size of the :term:`TCB`.  Use this
diff --git a/spec/acfg/if/max-file-descriptors.yml b/spec/acfg/if/max-file-descriptors.yml
index d498845..507f37f 100644
--- a/spec/acfg/if/max-file-descriptors.yml
+++ b/spec/acfg/if/max-file-descriptors.yml
@@ -16,6 +16,8 @@ links:
 - role: appl-config-group-member
   uid: group-general
 - role: constraint
+  uid: ../constraint/option-pre-qualified-zero
+- role: constraint
   uid: ../constraint/min-zero
 - role: constraint
   uid: ../constraint/max-size



More information about the vc mailing list