Changeset 5353ea89 in rtems


Ignore:
Timestamp:
Jun 24, 2020, 8:36:16 AM (4 months ago)
Author:
Sebastian Huber <sebastian.huber@…>
Branches:
master
Children:
1615b5ff
Parents:
96ea30f0
git-author:
Sebastian Huber <sebastian.huber@…> (06/24/20 08:36:16)
git-committer:
Sebastian Huber <sebastian.huber@…> (09/18/20 16:55:09)
Message:

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.

Location:
cpukit
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • cpukit/include/rtems.h

    r96ea30f0 r5353ea89  
    6262extern "C" {
    6363#endif
    64 
    65 /**
    66  * @brief Returns the pointer to the RTEMS copyright notice.
    67  */
    68 const char *rtems_get_copyright_notice(void);
    69 
    70 /**
    71  * @brief Returns the pointer to the RTEMS version string.
    72  */
    73 const char *rtems_get_version_string(void);
    74 
    75 /**
    76  * @brief Indicates whether this processor variant has hardware floating point
    77  * support.
    78  */
    79 #define RTEMS_HAS_HARDWARE_FP CPU_HARDWARE_FP
    8064
    8165/**********************************************************************
  • cpukit/include/rtems/config.h

    r96ea30f0 r5353ea89  
    2828 */
    2929
     30#include <rtems/score/cpu.h>
    3031#include <rtems/score/object.h>
    3132#include <rtems/score/isr.h>
     
    165166        (_SMP_Processor_configured_maximum)
    166167
     168/**
     169 * @brief Returns the pointer to the RTEMS copyright notice.
     170 */
     171const char *rtems_get_copyright_notice(void);
     172
     173/**
     174 * @brief Returns the pointer to the RTEMS version string.
     175 */
     176const char *rtems_get_version_string(void);
     177
     178/**
     179 * @brief Indicates whether this processor variant has hardware floating point
     180 * support.
     181 */
     182#define RTEMS_HAS_HARDWARE_FP CPU_HARDWARE_FP
     183
    167184#ifdef __cplusplus
    168185}
  • cpukit/sapi/src/getcopyrightnotice.c

    r96ea30f0 r5353ea89  
    4040#pragma GCC diagnostic ignored "-Wdeprecated-declarations"
    4141
    42 #include <rtems.h>
     42#include <rtems/config.h>
    4343#include <rtems/score/copyrt.h>
    4444
  • cpukit/sapi/src/getversionstring.c

    r96ea30f0 r5353ea89  
    2020#endif
    2121
    22 #include <rtems.h>
     22#include <rtems/config.h>
    2323#include <rtems/score/copyrt.h>
    2424
Note: See TracChangeset for help on using the changeset viewer.