summaryrefslogtreecommitdiffstats
path: root/spec/rtems/basedefs/req/aligned-0.yml
diff options
context:
space:
mode:
Diffstat (limited to 'spec/rtems/basedefs/req/aligned-0.yml')
-rw-r--r--spec/rtems/basedefs/req/aligned-0.yml24
1 files changed, 24 insertions, 0 deletions
diff --git a/spec/rtems/basedefs/req/aligned-0.yml b/spec/rtems/basedefs/req/aligned-0.yml
new file mode 100644
index 00000000..3a4a57aa
--- /dev/null
+++ b/spec/rtems/basedefs/req/aligned-0.yml
@@ -0,0 +1,24 @@
+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/aligned
+non-functional-type: interface
+rationale: |
+ Note that the ${../if/aligned:/name} macro can often only increases the
+ alignment but under some circumstances, it can also decrease the alignment.
+references: []
+requirement-type: non-functional
+text: |
+ When the argument ${../if/aligned:/params[0]/name} is a
+ positive power of two integer,
+ and the macro ${../if/aligned:/name} is used on a none-``static``
+ variable or structure field,
+ and the used linker supports alignments of the size given by the
+ ${../if/aligned:/params[0]/name} argument,
+ and the code is compiled with the GNU C compiler,
+ the macro shall specify a minimum alignment for the variable or
+ structure field, measured in bytes.
+type: requirement