summaryrefslogtreecommitdiffstats
path: root/cpukit/include/rtems/config.h
diff options
context:
space:
mode:
authorSebastian Huber <sebastian.huber@embedded-brains.de>2020-06-24 10:36:16 +0200
committerSebastian Huber <sebastian.huber@embedded-brains.de>2020-09-18 18:55:09 +0200
commit5353ea89d7da223b82460bb67116dbfa0bdad7c4 (patch)
treec5b12ac21852354d806484f534a7e6e34200826f /cpukit/include/rtems/config.h
parentscore: Improve Scheduler Handler documentation (diff)
downloadrtems-5353ea89d7da223b82460bb67116dbfa0bdad7c4.tar.bz2
rtems: Move from <rtems.h> to <rtems/config.h>
Move configuration related declarations and definitions to <rtems/config.h>. The goal is to make <rtems.h> an include only header file.
Diffstat (limited to 'cpukit/include/rtems/config.h')
-rw-r--r--cpukit/include/rtems/config.h17
1 files changed, 17 insertions, 0 deletions
diff --git a/cpukit/include/rtems/config.h b/cpukit/include/rtems/config.h
index e82c7abf11..1fbcf22f2e 100644
--- a/cpukit/include/rtems/config.h
+++ b/cpukit/include/rtems/config.h
@@ -27,6 +27,7 @@
* the configuration table.
*/
+#include <rtems/score/cpu.h>
#include <rtems/score/object.h>
#include <rtems/score/isr.h>
#include <rtems/score/memory.h>
@@ -164,6 +165,22 @@ uint32_t rtems_configuration_get_maximum_extensions( void );
#define rtems_configuration_get_maximum_processors() \
(_SMP_Processor_configured_maximum)
+/**
+ * @brief Returns the pointer to the RTEMS copyright notice.
+ */
+const char *rtems_get_copyright_notice(void);
+
+/**
+ * @brief Returns the pointer to the RTEMS version string.
+ */
+const char *rtems_get_version_string(void);
+
+/**
+ * @brief Indicates whether this processor variant has hardware floating point
+ * support.
+ */
+#define RTEMS_HAS_HARDWARE_FP CPU_HARDWARE_FP
+
#ifdef __cplusplus
}
#endif