diff options
-rw-r--r-- | c/src/exec/rtems/inline/rtems/rtems/sem.inl | 10 | ||||
-rw-r--r-- | cpukit/rtems/inline/rtems/rtems/sem.inl | 10 |
2 files changed, 20 insertions, 0 deletions
diff --git a/c/src/exec/rtems/inline/rtems/rtems/sem.inl b/c/src/exec/rtems/inline/rtems/rtems/sem.inl index 4c5d1d63f8..3555984d5d 100644 --- a/c/src/exec/rtems/inline/rtems/rtems/sem.inl +++ b/c/src/exec/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 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 |