rtems: From <rtems.h> to <rtems/rtems/types.h>

Move type related definition to <rtems/rtems/types.h>.  The goal is to
make <rtems.h> an include only header file.
This commit is contained in:
Sebastian Huber
2020-06-24 10:43:22 +02:00
parent d433b72427
commit c161216d44
2 changed files with 7 additions and 7 deletions

View File

@@ -61,13 +61,6 @@
extern "C" {
#endif
/**
* @brief Constant for indefinite wait.
*
* This is actually an illegal interval value.
*/
#define RTEMS_NO_TIMEOUT ((rtems_interval) WATCHDOG_NO_TIMEOUT)
/**
* @brief An MPCI must support packets of at least this size.
*/

View File

@@ -85,6 +85,13 @@ typedef CPU_Interrupt_frame rtems_interrupt_frame;
*/
typedef Watchdog_Interval rtems_interval;
/**
* @brief Constant for indefinite wait.
*
* This is actually an illegal interval value.
*/
#define RTEMS_NO_TIMEOUT ((rtems_interval) WATCHDOG_NO_TIMEOUT)
/**
* @brief Data structure to manage and manipulate calendar
* @ref ClassicRTEMSSecTime "time".