summaryrefslogtreecommitdiffstats
path: root/spec/rtems/basedefs/req/dequalify-0.yml
diff options
context:
space:
mode:
Diffstat (limited to 'spec/rtems/basedefs/req/dequalify-0.yml')
-rw-r--r--spec/rtems/basedefs/req/dequalify-0.yml22
1 files changed, 22 insertions, 0 deletions
diff --git a/spec/rtems/basedefs/req/dequalify-0.yml b/spec/rtems/basedefs/req/dequalify-0.yml
new file mode 100644
index 00000000..a94453b1
--- /dev/null
+++ b/spec/rtems/basedefs/req/dequalify-0.yml
@@ -0,0 +1,22 @@
+SPDX-License-Identifier: CC-BY-SA-4.0
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+enabled-by: true
+links:
+- role: requirement-refinement
+ uid: ../if/dequalify
+non-functional-type: interface
+rationale: null
+references: []
+requirement-type: non-functional
+text: |
+ When ${../if/dequalify:/params[0]/name} is a non-const non-volatile
+ pointer type,
+ and ${../if/dequalify:/params[1]/name} is a pointer to a value of
+ const volatile type,
+ and the types of ${../if/dequalify:/params[0]/name} and
+ ${../if/dequalify:/params[1]/name} are compatible in the sense of C,
+ the macro ${../if/dequalify:/name} shall result in an expression
+ which returns a pointer of type ${../if/dequalify:/params[0]/name} pointing
+ to the same address as ${../if/dequalify:/params[1]/name}.
+type: requirement