Changeset c6000d2b in rtems


Ignore:
Timestamp:
Dec 23, 2016, 6:09:02 AM (3 years ago)
Author:
Sebastian Huber <sebastian.huber@…>
Branches:
master
Children:
9a448aab
Parents:
2e6d9865
git-author:
Sebastian Huber <sebastian.huber@…> (12/23/16 06:09:02)
git-committer:
Sebastian Huber <sebastian.huber@…> (01/11/17 07:16:27)
Message:

score: Delete STATES_WAITING_FOR_BUFFER

Location:
cpukit
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • cpukit/libdebugger/rtems-debugger-threads.c

    r2e6d9865 rc6000d2b  
    520520    { "SUSP",   STATES_SUSPENDED },
    521521    { "Wbar",   STATES_WAITING_FOR_BARRIER },
    522     { "Wbuf",   STATES_WAITING_FOR_BUFFER },
    523522    { "Wcvar",  STATES_WAITING_FOR_CONDITION_VARIABLE },
    524523    { "Wevnt",  STATES_WAITING_FOR_EVENT },
  • cpukit/libmisc/monitor/mon-prmisc.c

    r2e6d9865 rc6000d2b  
    113113}
    114114
    115 
    116115static const rtems_assoc_t rtems_monitor_state_assoc[] = {
    117116    { "DELAY",  STATES_DELAYING, 0 },
     
    120119    { "SUSP",   STATES_SUSPENDED, 0 },
    121120    { "Wbar",   STATES_WAITING_FOR_BARRIER, 0 },
    122     { "Wbuf",   STATES_WAITING_FOR_BUFFER, 0 },
    123121    { "Wcvar",  STATES_WAITING_FOR_CONDITION_VARIABLE, 0 },
    124122    { "Wevnt",  STATES_WAITING_FOR_EVENT, 0 },
  • cpukit/score/include/rtems/score/statesimpl.h

    r2e6d9865 rc6000d2b  
    4747/** This macro corresponds to a task waiting until a specific TOD. */
    4848#define STATES_WAITING_FOR_TIME                0x00000010
    49 /** This macro corresponds to a task waiting for a variable length buffer. */
    50 #define STATES_WAITING_FOR_BUFFER              0x00000020
    5149/** This macro corresponds to a task waiting for a fixed size segment. */
    5250#define STATES_WAITING_FOR_SEGMENT             0x00000040
     
    10098
    10199/** This macro corresponds to a task waiting for a local object operation. */
    102 #define STATES_LOCALLY_BLOCKED ( STATES_WAITING_FOR_BUFFER             | \
    103                                  STATES_WAITING_FOR_SEGMENT            | \
     100#define STATES_LOCALLY_BLOCKED ( STATES_WAITING_FOR_SEGMENT            | \
    104101                                 STATES_WAITING_FOR_MESSAGE            | \
    105102                                 STATES_WAITING_FOR_SEMAPHORE          | \
     
    239236
    240237/**
    241  * This function returns true if the WAITING_FOR_BUFFER state is set in
    242  * the_states, and false otherwise.
    243  *
    244  * @param[in] the_states is the task state set to test
    245  *
    246  * @return This method returns true if the desired state condition is set.
    247  */
    248 RTEMS_INLINE_ROUTINE bool _States_Is_waiting_for_buffer (
    249   States_Control the_states
    250 )
    251 {
    252    return (the_states & STATES_WAITING_FOR_BUFFER);
    253 }
    254 
    255 /**
    256238 * This function returns true if the WAITING_FOR_SEGMENT state is set in
    257239 * the_states, and false otherwise.
Note: See TracChangeset for help on using the changeset viewer.