summaryrefslogtreecommitdiffstats
path: root/spec/rtems/basedefs/req/noinit-0.yml
diff options
context:
space:
mode:
authorFrank Kühndel <frank.kuehndel@embedded-brains.de>2021-09-16 18:55:57 +0200
committerSebastian Huber <sebastian.huber@embedded-brains.de>2021-09-24 13:18:26 +0200
commitf256d34e8fe56e711d0efde14b22f926b8a05086 (patch)
tree2361431317709811030236aaef30caf483c6df1a /spec/rtems/basedefs/req/noinit-0.yml
parentspec: Specify <sys/lock.h> mutexes (diff)
downloadrtems-central-f256d34e8fe56e711d0efde14b22f926b8a05086.tar.bz2
spec: Add STATIC_ANALYSIS and NOINIT specs
This specification is up to date for ./cpukit/include/rtems/score/basedefs.h with commit 9e13cbe8721e725c67d2d8bd16df66265c39a75b
Diffstat (limited to 'spec/rtems/basedefs/req/noinit-0.yml')
-rw-r--r--spec/rtems/basedefs/req/noinit-0.yml20
1 files changed, 20 insertions, 0 deletions
diff --git a/spec/rtems/basedefs/req/noinit-0.yml b/spec/rtems/basedefs/req/noinit-0.yml
new file mode 100644
index 00000000..b60d0c3a
--- /dev/null
+++ b/spec/rtems/basedefs/req/noinit-0.yml
@@ -0,0 +1,20 @@
+SPDX-License-Identifier: CC-BY-SA-4.0
+copyrights:
+- Copyright (C) 2021 embedded brains GmbH (http://www.embedded-brains.de)
+enabled-by: true
+links:
+- role: interface-function
+ uid: ../if/noinit
+non-functional-type: interface
+rationale: null
+references: []
+requirement-type: non-functional
+text: |
+ When the code is compiled with the GNU C compiler,
+ and the ${../if/section:/name} macro is attached to a
+ global variable definition,
+ and the file format used supports arbitrary sections,
+ the macro shall cause the compiler to store the
+ variable in a section where its value is not initialized
+ during initial start up.
+type: requirement