summaryrefslogtreecommitdiffstats
path: root/cpukit/rtems/macros/rtems/rtems/sem.inl
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>2000-11-30 14:33:52 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>2000-11-30 14:33:52 +0000
commiteafa70b2a43215154cd634c59a92941f1371a567 (patch)
treec20b1d100251ef4089734d160ff8df9df4155d89 /cpukit/rtems/macros/rtems/rtems/sem.inl
parent2000-11-30 Joel Sherrill <joel@OARcorp.com> (diff)
downloadrtems-eafa70b2a43215154cd634c59a92941f1371a567.tar.bz2
2000-11-30 Joel Sherrill <joel@OARcorp.com>
* macros/rtems/rtems/sem.inl: Added macro implementation of _Semaphore_Get_interrupt_disable().
Diffstat (limited to '')
-rw-r--r--cpukit/rtems/macros/rtems/rtems/sem.inl5
1 files changed, 5 insertions, 0 deletions
diff --git a/cpukit/rtems/macros/rtems/rtems/sem.inl b/cpukit/rtems/macros/rtems/rtems/sem.inl
index 31009ddb68..ab7ced77b7 100644
--- a/cpukit/rtems/macros/rtems/rtems/sem.inl
+++ b/cpukit/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