summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSebastian Huber <sebastian.huber@embedded-brains.de>2020-06-24 10:43:22 +0200
committerSebastian Huber <sebastian.huber@embedded-brains.de>2020-09-18 18:55:09 +0200
commitc161216d44f23610b6c459196ad0788b4f6708f9 (patch)
tree26854de8609d40babefb9ad6e9152b4c25ee0002
parentd433b724272abbf9e3516da8c426157c7994f66b (diff)
downloadrtems-c161216d44f23610b6c459196ad0788b4f6708f9.tar.bz2
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.
-rw-r--r--cpukit/include/rtems.h7
-rw-r--r--cpukit/include/rtems/rtems/types.h7
2 files changed, 7 insertions, 7 deletions
diff --git a/cpukit/include/rtems.h b/cpukit/include/rtems.h
index b716796fdc..ff0cb69bcf 100644
--- a/cpukit/include/rtems.h
+++ b/cpukit/include/rtems.h
@@ -62,13 +62,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.
*/
#define RTEMS_MINIMUM_PACKET_SIZE MP_PACKET_MINIMUM_PACKET_SIZE
diff --git a/cpukit/include/rtems/rtems/types.h b/cpukit/include/rtems/rtems/types.h
index e5dd1afc3b..5ce3eb6604 100644
--- a/cpukit/include/rtems/rtems/types.h
+++ b/cpukit/include/rtems/rtems/types.h
@@ -86,6 +86,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".
*/