aboutsummaryrefslogtreecommitdiffstats
path: root/os/hal/include
diff options
context:
space:
mode:
authorGiovanni Di Sirio <gdisirio@gmail.com>2016-03-16 11:09:29 +0000
committerGiovanni Di Sirio <gdisirio@gmail.com>2016-03-16 11:09:29 +0000
commit1914bcbbf422a9616dd2c1d6906a8ced3548921d (patch)
tree42ca5cc9364fa993ec6fef3d1f31671ba4dfa6f2 /os/hal/include
parent8ecb193368678a4a75cb65674fdb69e97888adfd (diff)
downloadChibiOS-1914bcbbf422a9616dd2c1d6906a8ced3548921d.tar.gz
ChibiOS-1914bcbbf422a9616dd2c1d6906a8ced3548921d.tar.bz2
ChibiOS-1914bcbbf422a9616dd2c1d6906a8ced3548921d.zip
Removed I/O queues and streams from RT.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@9125 35acf78f-673a-0410-8e92-d51de3d6d3f4
Diffstat (limited to 'os/hal/include')
-rw-r--r--os/hal/include/hal_queues.h37
-rw-r--r--os/hal/include/hal_streams.h6
2 files changed, 0 insertions, 43 deletions
diff --git a/os/hal/include/hal_queues.h b/os/hal/include/hal_queues.h
index e6b3b39c4..68b61af4b 100644
--- a/os/hal/include/hal_queues.h
+++ b/os/hal/include/hal_queues.h
@@ -25,11 +25,6 @@
#ifndef _HAL_QUEUES_H_
#define _HAL_QUEUES_H_
-/* The ChibiOS/RT kernel provides the following definitions by itself, this
- check is performed in order to avoid conflicts. */
-#if !defined(_CHIBIOS_RT_) || (CH_CFG_USE_QUEUES == FALSE) || \
- defined(__DOXYGEN__)
-
/**
* @name Queue functions returned status value
* @{
@@ -298,38 +293,6 @@ extern "C" {
}
#endif
-#else /* defined(_CHIBIOS_RT_) && CH_CFG_USE_QUEUES */
-
-/* If ChibiOS is being used and its own queues subsystem is activated then
- this module will use the ChibiOS queues code.*/
-#define qSizeX(qp) chQSizeX(qp)
-#define qSpaceI(qp) chQSpaceI(qp)
-#define qGetLink(qp) chQGetLinkX(qp)
-#define iqGetFullI(iqp) chIQGetFullI(iqp)
-#define iqGetEmptyI(iqp) chIQGetEmptyI(iqp)
-#define iqIsEmptyI(iqp) chIQIsEmptyI(iqp)
-#define iqIsFullI(iqp) chIQIsFullI(iqp)
-#define iqGet(iqp) chIQGet(iqp)
-#define oqGetFullI(oqp) chOQGetFullI(oqp)
-#define oqGetEmptyI(oqp) chOQGetEmptyI(oqp)
-#define oqIsEmptyI(oqp) chOQIsEmptyI(oqp)
-#define oqIsFullI(oqp) chOQIsFullI(oqp)
-#define oqPut(oqp, b) chOQPut(oqp, b)
-#define iqObjectInit(iqp, bp, size, infy, link) \
- chIQObjectInit(iqp, bp, size, infy, link)
-#define iqResetI(iqp) chIQResetI(iqp)
-#define iqPutI(iqp, b) chIQPutI(iqp, b)
-#define iqGetTimeout(iqp, time) chIQGetTimeout(iqp, time)
-#define iqReadTimeout(iqp, bp, n, time) chIQReadTimeout(iqp, bp, n, time)
-#define oqObjectInit(oqp, bp, size, onfy, link) \
- chOQObjectInit(oqp, bp, size, onfy, link)
-#define oqResetI(oqp) chOQResetI(oqp)
-#define oqPutTimeout(oqp, b, time) chOQPutTimeout(oqp, b, time)
-#define oqGetI(oqp) chOQGetI(oqp)
-#define oqWriteTimeout(oqp, bp, n, time) chOQWriteTimeout(oqp, bp, n, time)
-
-#endif /* defined(_CHIBIOS_RT_) || (CH_CFG_USE_QUEUES == FALSE) */
-
#endif /* _HAL_QUEUES_H_ */
/** @} */
diff --git a/os/hal/include/hal_streams.h b/os/hal/include/hal_streams.h
index bd19a9c7c..93204a75f 100644
--- a/os/hal/include/hal_streams.h
+++ b/os/hal/include/hal_streams.h
@@ -44,10 +44,6 @@
#define STM_RESET MSG_RESET
/** @} */
-/* The ChibiOS/RT kernel provides the following definitions by itself, this
- check is performed in order to avoid conflicts. */
-#if !defined(_CHIBIOS_RT_) || defined(__DOXYGEN__)
-
/**
* @brief BaseSequentialStream specific methods.
*/
@@ -86,8 +82,6 @@ typedef struct {
_base_sequential_stream_data
} BaseSequentialStream;
-#endif /* !defined(_CHIBIOS_RT_)*/
-
/**
* @name Macro Functions (BaseSequentialStream)
* @{