From 5353ea89d7da223b82460bb67116dbfa0bdad7c4 Mon Sep 17 00:00:00 2001 From: Sebastian Huber Date: Wed, 24 Jun 2020 10:36:16 +0200 Subject: rtems: Move from to Move configuration related declarations and definitions to . The goal is to make an include only header file. --- cpukit/include/rtems.h | 16 ---------------- cpukit/include/rtems/config.h | 17 +++++++++++++++++ 2 files changed, 17 insertions(+), 16 deletions(-) (limited to 'cpukit/include') diff --git a/cpukit/include/rtems.h b/cpukit/include/rtems.h index 4392f08ce8..6bdca97769 100644 --- a/cpukit/include/rtems.h +++ b/cpukit/include/rtems.h @@ -62,22 +62,6 @@ extern "C" { #endif -/** - * @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 - /********************************************************************** * CONSTANTS WHICH MAY BE USED IN OBJECT NAME TO ID SEARCHES **********************************************************************/ 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 #include #include #include @@ -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 -- cgit v1.2.3