diff options
author | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2012-10-26 10:05:07 +0200 |
---|---|---|
committer | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2012-10-30 18:03:02 +0100 |
commit | 0edf263139088e8ac0ff1f0d52513f6fc85677d2 (patch) | |
tree | 62f376215aa7ae30aa77e9386c2191ae20b70258 /cpukit/score/include/rtems/score/states.h | |
parent | rtems: Reusable event implementation (diff) | |
download | rtems-0edf263139088e8ac0ff1f0d52513f6fc85677d2.tar.bz2 |
rtems: Add system events
System events are similar to normal events. They offer a second set of
events. These events are intended for internal RTEMS use and should not
be used by applications (with the exception of the transient system
event).
Diffstat (limited to 'cpukit/score/include/rtems/score/states.h')
-rw-r--r-- | cpukit/score/include/rtems/score/states.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/cpukit/score/include/rtems/score/states.h b/cpukit/score/include/rtems/score/states.h index eb4658e3be..f71bf9399e 100644 --- a/cpukit/score/include/rtems/score/states.h +++ b/cpukit/score/include/rtems/score/states.h @@ -81,6 +81,8 @@ typedef uint32_t States_Control; #define STATES_WAITING_FOR_BARRIER 0x10000 /** This macro corresponds to a task waiting for a RWLock. */ #define STATES_WAITING_FOR_RWLOCK 0x20000 +/** This macro corresponds to a task waiting for a system event. */ +#define STATES_WAITING_FOR_SYSTEM_EVENT 0x40000 /** This macro corresponds to a task which is in an interruptible * blocking state. @@ -110,6 +112,7 @@ typedef uint32_t States_Control; STATES_WAITING_FOR_TIME | \ STATES_WAITING_FOR_PERIOD | \ STATES_WAITING_FOR_EVENT | \ + STATES_WAITING_FOR_SYSTEM_EVENT | \ STATES_WAITING_ON_THREAD_QUEUE | \ STATES_INTERRUPTIBLE_BY_SIGNAL ) |