[rtems commit] rtems: From <rtems.h> to <rtems/rtems/types.h>
Sebastian Huber
sebh at rtems.org
Fri Sep 18 16:56:51 UTC 2020
Module: rtems
Branch: master
Commit: c161216d44f23610b6c459196ad0788b4f6708f9
Changeset: http://git.rtems.org/rtems/commit/?id=c161216d44f23610b6c459196ad0788b4f6708f9
Author: Sebastian Huber <sebastian.huber at embedded-brains.de>
Date: Wed Jun 24 10:43:22 2020 +0200
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.
---
cpukit/include/rtems.h | 7 -------
cpukit/include/rtems/rtems/types.h | 7 +++++++
2 files changed, 7 insertions(+), 7 deletions(-)
diff --git a/cpukit/include/rtems.h b/cpukit/include/rtems.h
index b716796..ff0cb69 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 e5dd1af..5ce3eb66 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".
*/
More information about the vc
mailing list