summaryrefslogtreecommitdiffstats
path: root/spec/rtems/basedefs/req/devolatile-0.yml
diff options
context:
space:
mode:
Diffstat (limited to 'spec/rtems/basedefs/req/devolatile-0.yml')
-rw-r--r--spec/rtems/basedefs/req/devolatile-0.yml21
1 files changed, 21 insertions, 0 deletions
diff --git a/spec/rtems/basedefs/req/devolatile-0.yml b/spec/rtems/basedefs/req/devolatile-0.yml
new file mode 100644
index 00000000..5125aa86
--- /dev/null
+++ b/spec/rtems/basedefs/req/devolatile-0.yml
@@ -0,0 +1,21 @@
+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/devolatile
+non-functional-type: interface
+rationale: null
+references: []
+requirement-type: non-functional
+text: |
+ When ${../if/devolatile:/params[0]/name} is a non-volatile pointer type,
+ and ${../if/devolatile:/params[1]/name} is a pointer to a value of
+ volatile type,
+ and the types of ${../if/devolatile:/params[0]/name} and
+ ${../if/devolatile:/params[1]/name} are compatible in the sense of C,
+ the macro ${../if/devolatile:/name} shall result in an expression
+ which returns a pointer of type ${../if/devolatile:/params[0]/name} pointing
+ to the same address as ${../if/devolatile:/params[1]/name}.
+type: requirement