summaryrefslogtreecommitdiffstats
path: root/cpukit/include
diff options
context:
space:
mode:
authorSebastian Huber <sebastian.huber@embedded-brains.de>2021-04-30 15:07:14 +0200
committerSebastian Huber <sebastian.huber@embedded-brains.de>2021-04-30 15:47:03 +0200
commita84bf966b541cd68ada3b5044080c6f38ff882f6 (patch)
treea5946c470a1da42393f4be66858d161bd76ed0ff /cpukit/include
parentUse alias for rtems_task_self() and pthread_self() (diff)
downloadrtems-a84bf966b541cd68ada3b5044080c6f38ff882f6.tar.bz2
basedefs: Add RTEMS_NOINIT
Update #3866.
Diffstat (limited to 'cpukit/include')
-rw-r--r--cpukit/include/rtems/score/basedefs.h42
1 files changed, 26 insertions, 16 deletions
diff --git a/cpukit/include/rtems/score/basedefs.h b/cpukit/include/rtems/score/basedefs.h
index 71dc18216e..33fb272291 100644
--- a/cpukit/include/rtems/score/basedefs.h
+++ b/cpukit/include/rtems/score/basedefs.h
@@ -353,6 +353,22 @@ extern "C" {
*/
#define RTEMS_EXPAND( _token ) _token
+/* Generated from spec:/rtems/basedefs/if/section */
+
+/**
+ * @ingroup RTEMSAPIBaseDefs
+ *
+ * @brief Instructs the compiler to place the variable or function in the
+ * section.
+ *
+ * @param _section is the section name as a string.
+ */
+#if defined(__GNUC__)
+ #define RTEMS_SECTION( _section ) __attribute__(( __section__( _section ) ))
+#else
+ #define RTEMS_SECTION( _section )
+#endif
+
/* Generated from spec:/rtems/basedefs/if/string */
/**
@@ -613,6 +629,16 @@ extern "C" {
*/
#define RTEMS_COMPILER_NO_RETURN_ATTRIBUTE RTEMS_NO_RETURN
+/* Generated from spec:/rtems/basedefs/if/noinit */
+
+/**
+ * @ingroup RTEMSAPIBaseDefs
+ *
+ * @brief Instructs the compiler to place the variable in a section which is
+ * not initialized.
+ */
+#define RTEMS_NOINIT RTEMS_SECTION( ".noinit" )
+
/* Generated from spec:/rtems/basedefs/if/obfuscate-variable */
/**
@@ -752,22 +778,6 @@ extern "C" {
#define RTEMS_RETURN_ADDRESS() NULL
#endif
-/* Generated from spec:/rtems/basedefs/if/section */
-
-/**
- * @ingroup RTEMSAPIBaseDefs
- *
- * @brief Instructs the compiler to place the variable or function in the
- * section.
- *
- * @param _section is the section name as a string.
- */
-#if defined(__GNUC__)
- #define RTEMS_SECTION( _section ) __attribute__(( __section__( _section ) ))
-#else
- #define RTEMS_SECTION( _section )
-#endif
-
/* Generated from spec:/rtems/basedefs/if/static-analysis */
/**