summaryrefslogtreecommitdiffstats
path: root/cpukit/score/include/rtems
diff options
context:
space:
mode:
authorSebastian Huber <sebastian.huber@embedded-brains.de>2016-12-23 07:09:02 +0100
committerSebastian Huber <sebastian.huber@embedded-brains.de>2017-01-11 08:16:27 +0100
commitc6000d2b543ad7d3b30b349719544f3054925cb4 (patch)
tree2f9502221218da51923ebaa8825fc6688e7e2428 /cpukit/score/include/rtems
parentscore: Format thread state defines (diff)
downloadrtems-c6000d2b543ad7d3b30b349719544f3054925cb4.tar.bz2
score: Delete STATES_WAITING_FOR_BUFFER
Diffstat (limited to 'cpukit/score/include/rtems')
-rw-r--r--cpukit/score/include/rtems/score/statesimpl.h20
1 files changed, 1 insertions, 19 deletions
diff --git a/cpukit/score/include/rtems/score/statesimpl.h b/cpukit/score/include/rtems/score/statesimpl.h
index e321a345d8..82bcd7908a 100644
--- a/cpukit/score/include/rtems/score/statesimpl.h
+++ b/cpukit/score/include/rtems/score/statesimpl.h
@@ -46,8 +46,6 @@ extern "C" {
#define STATES_DELAYING 0x00000008
/** This macro corresponds to a task waiting until a specific TOD. */
#define STATES_WAITING_FOR_TIME 0x00000010
-/** This macro corresponds to a task waiting for a variable length buffer. */
-#define STATES_WAITING_FOR_BUFFER 0x00000020
/** This macro corresponds to a task waiting for a fixed size segment. */
#define STATES_WAITING_FOR_SEGMENT 0x00000040
/** This macro corresponds to a task waiting for a message. */
@@ -99,8 +97,7 @@ extern "C" {
#define STATES_WAITING_FOR_SYS_LOCK_CONDITION 0x20000000
/** This macro corresponds to a task waiting for a local object operation. */
-#define STATES_LOCALLY_BLOCKED ( STATES_WAITING_FOR_BUFFER | \
- STATES_WAITING_FOR_SEGMENT | \
+#define STATES_LOCALLY_BLOCKED ( STATES_WAITING_FOR_SEGMENT | \
STATES_WAITING_FOR_MESSAGE | \
STATES_WAITING_FOR_SEMAPHORE | \
STATES_WAITING_FOR_MUTEX | \
@@ -238,21 +235,6 @@ RTEMS_INLINE_ROUTINE bool _States_Is_delaying (
}
/**
- * This function returns true if the WAITING_FOR_BUFFER state is set in
- * the_states, and false otherwise.
- *
- * @param[in] the_states is the task state set to test
- *
- * @return This method returns true if the desired state condition is set.
- */
-RTEMS_INLINE_ROUTINE bool _States_Is_waiting_for_buffer (
- States_Control the_states
-)
-{
- return (the_states & STATES_WAITING_FOR_BUFFER);
-}
-
-/**
* This function returns true if the WAITING_FOR_SEGMENT state is set in
* the_states, and false otherwise.
*