diff options
author | Joel Sherrill <joel.sherrill@OARcorp.com> | 2008-04-28 18:21:01 +0000 |
---|---|---|
committer | Joel Sherrill <joel.sherrill@OARcorp.com> | 2008-04-28 18:21:01 +0000 |
commit | 2ad3d0245928ecbff016dd02efb10ba142c75843 (patch) | |
tree | d68ef1def0172c2b0fcba9cb948b002c7b36a0dd /cpukit/rtems/inline/rtems/rtems/sem.inl | |
parent | Fix typo. (diff) | |
download | rtems-2ad3d0245928ecbff016dd02efb10ba142c75843.tar.bz2 |
2008-04-28 Joel Sherrill <joel.sherrill@oarcorp.com>
* rtems/include/rtems.h, rtems/include/rtems/rtems/ratemon.h,
rtems/include/rtems/rtems/status.h,
rtems/include/rtems/rtems/tasks.h, rtems/include/rtems/rtems/timer.h,
rtems/inline/rtems/rtems/sem.inl: More Doxygen warnings removed.
Diffstat (limited to '')
-rw-r--r-- | cpukit/rtems/inline/rtems/rtems/sem.inl | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/cpukit/rtems/inline/rtems/rtems/sem.inl b/cpukit/rtems/inline/rtems/rtems/sem.inl index 01058d2257..566c823f81 100644 --- a/cpukit/rtems/inline/rtems/rtems/sem.inl +++ b/cpukit/rtems/inline/rtems/rtems/sem.inl @@ -67,6 +67,17 @@ RTEMS_INLINE_ROUTINE Semaphore_Control *_Semaphore_Get ( _Objects_Get( &_Semaphore_Information, id, location ); } +/** + * @brief Semaphore_Get (Interrupts disabled) + * + * This function maps semaphore IDs to semaphore control blocks. + * If ID corresponds to a local semaphore, then it returns + * the_semaphore control pointer which maps to ID and location + * is set to OBJECTS_LOCAL. if the semaphore ID is global and + * resides on a remote node, then location is set to OBJECTS_REMOTE, + * and the_semaphore is undefined. Otherwise, location is set + * to OBJECTS_ERROR and the_semaphore is undefined. + */ RTEMS_INLINE_ROUTINE Semaphore_Control *_Semaphore_Get_interrupt_disable ( Objects_Id id, Objects_Locations *location, |