summaryrefslogtreecommitdiffstats
path: root/c/src/exec/rtems/macros/rtems/rtems/sem.inl
diff options
context:
space:
mode:
Diffstat (limited to 'c/src/exec/rtems/macros/rtems/rtems/sem.inl')
-rw-r--r--c/src/exec/rtems/macros/rtems/rtems/sem.inl5
1 files changed, 5 insertions, 0 deletions
diff --git a/c/src/exec/rtems/macros/rtems/rtems/sem.inl b/c/src/exec/rtems/macros/rtems/rtems/sem.inl
index 31009ddb68..ab7ced77b7 100644
--- a/c/src/exec/rtems/macros/rtems/rtems/sem.inl
+++ b/c/src/exec/rtems/macros/rtems/rtems/sem.inl
@@ -44,6 +44,11 @@
(Semaphore_Control *) \
_Objects_Get( &_Semaphore_Information, (_id), (_location) )
+#define _Semaphore_Get_interrupt_disable( _id, _location, _level ) \
+ (Semaphore_Control *) \
+ _Objects_Get_isr_disable( \
+ &_Semaphore_Information, (_id), (_location), (_level) )
+
/*PAGE
*
* _Semaphore_Is_null