From d058ce2ef33a13fde15be9b463d3815e49728ce1 Mon Sep 17 00:00:00 2001 From: Joel Sherrill Date: Thu, 6 Jul 2000 19:39:20 +0000 Subject: Added _Semaphore_Get_interrupt_disable. --- cpukit/rtems/inline/rtems/rtems/sem.inl | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'cpukit') diff --git a/cpukit/rtems/inline/rtems/rtems/sem.inl b/cpukit/rtems/inline/rtems/rtems/sem.inl index 4c5d1d63f8..3555984d5d 100644 --- a/cpukit/rtems/inline/rtems/rtems/sem.inl +++ b/cpukit/rtems/inline/rtems/rtems/sem.inl @@ -72,6 +72,16 @@ RTEMS_INLINE_ROUTINE Semaphore_Control *_Semaphore_Get ( _Objects_Get( &_Semaphore_Information, id, location ); } +RTEMS_INLINE_ROUTINE Semaphore_Control *_Semaphore_Get_interrupt_disable ( + Objects_Id id, + Objects_Locations *location, + ISR_Level *level +) +{ + return (Semaphore_Control *) + _Objects_Get_isr_disable( &_Semaphore_Information, id, location, level ); +} + /*PAGE * * _Semaphore_Is_null -- cgit v1.2.3