summaryrefslogtreecommitdiffstats
path: root/c/src/exec/rtems
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>2000-07-06 19:39:20 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>2000-07-06 19:39:20 +0000
commitd058ce2ef33a13fde15be9b463d3815e49728ce1 (patch)
tree2dfac4c520a3ab09504a5cd3a4b54eb9f287a3f6 /c/src/exec/rtems
parentCleaned up to avoid disruptive use of inline conditionals. (diff)
downloadrtems-d058ce2ef33a13fde15be9b463d3815e49728ce1.tar.bz2
Added _Semaphore_Get_interrupt_disable.
Diffstat (limited to 'c/src/exec/rtems')
-rw-r--r--c/src/exec/rtems/inline/rtems/rtems/sem.inl10
1 files changed, 10 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