[rtems-central commit] spec: Fix attribute references

Sebastian Huber sebh at rtems.org
Fri May 28 12:42:06 UTC 2021


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

Author:    Sebastian Huber <sebastian.huber at embedded-brains.de>
Date:      Fri May 28 09:59:49 2021 +0200

spec: Fix attribute references

---

 spec/rtems/attr/req/bit-set.yml                             | 2 +-
 spec/rtems/mode/req/masks.yml                               | 4 ++--
 spec/rtems/option/req/bit-set.yml                           | 2 +-
 spec/rtems/scheduler/req/get-processor-maximum-smp-only.yml | 3 ++-
 spec/rtems/sem/req/obtain.yml                               | 2 +-
 5 files changed, 7 insertions(+), 6 deletions(-)

diff --git a/spec/rtems/attr/req/bit-set.yml b/spec/rtems/attr/req/bit-set.yml
index fee7224..b4fc811 100644
--- a/spec/rtems/attr/req/bit-set.yml
+++ b/spec/rtems/attr/req/bit-set.yml
@@ -11,5 +11,5 @@ references: []
 requirement-type: non-functional
 text: |
   Each non-default directive attribute constant shall be a power of two
-  representable as an integer of type ${../if/attribute}.
+  representable as an integer of type ${../if/attribute:/name}.
 type: requirement
diff --git a/spec/rtems/mode/req/masks.yml b/spec/rtems/mode/req/masks.yml
index 3c9d7da..80adbf7 100644
--- a/spec/rtems/mode/req/masks.yml
+++ b/spec/rtems/mode/req/masks.yml
@@ -10,6 +10,6 @@ rationale: null
 references: []
 requirement-type: non-functional
 text: |
-  Each task mode mask constant except ${../if/interrupt-mask} shall be a power
-  of two representable as an integer of type ${../if/mode:/name}.
+  Each task mode mask constant except ${../if/interrupt-mask:/name} shall be a
+  power of two representable as an integer of type ${../if/mode:/name}.
 type: requirement
diff --git a/spec/rtems/option/req/bit-set.yml b/spec/rtems/option/req/bit-set.yml
index 2b7b873..38e73db 100644
--- a/spec/rtems/option/req/bit-set.yml
+++ b/spec/rtems/option/req/bit-set.yml
@@ -11,5 +11,5 @@ references: []
 requirement-type: non-functional
 text: |
   Each non-default directive option constant shall be a power of two
-  representable as an integer of type ${../if/option}.
+  representable as an integer of type ${../if/option:/name}.
 type: requirement
diff --git a/spec/rtems/scheduler/req/get-processor-maximum-smp-only.yml b/spec/rtems/scheduler/req/get-processor-maximum-smp-only.yml
index e7f46ea..3db68ef 100644
--- a/spec/rtems/scheduler/req/get-processor-maximum-smp-only.yml
+++ b/spec/rtems/scheduler/req/get-processor-maximum-smp-only.yml
@@ -12,5 +12,6 @@ requirement-type: functional
 text: |
   The return value of the ${../if/get-processor-maximum:/name} directive shall
   be the minimum of the processors available at the ${/glossary/target:/term}
-  and the ${/acfg/if/max-processors} application configuration option value.
+  and the ${/acfg/if/max-processors:/name} application configuration option
+  value.
 type: requirement
diff --git a/spec/rtems/sem/req/obtain.yml b/spec/rtems/sem/req/obtain.yml
index 9174851..4dc08b4 100644
--- a/spec/rtems/sem/req/obtain.yml
+++ b/spec/rtems/sem/req/obtain.yml
@@ -176,7 +176,7 @@ pre-conditions:
       ctx->tq_ctx.wait = TQ_NO_WAIT;
     text: |
       While the ${../if/obtain:/params[1]/name} parameter indicates the
-      ${../../option/if/no-wait} option.
+      ${../../option/if/no-wait:/name} option.
   - name: Timeout
     test-code: |
       ctx->tq_ctx.wait = TQ_WAIT_TICKS;



More information about the vc mailing list