From 2ad3d0245928ecbff016dd02efb10ba142c75843 Mon Sep 17 00:00:00 2001 From: Joel Sherrill Date: Mon, 28 Apr 2008 18:21:01 +0000 Subject: 2008-04-28 Joel Sherrill * 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. --- cpukit/rtems/inline/rtems/rtems/sem.inl | 11 +++++++++++ 1 file changed, 11 insertions(+) (limited to 'cpukit/rtems/inline/rtems/rtems/sem.inl') 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, -- cgit v1.2.3