summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--c/src/exec/rtems/ChangeLog5
-rw-r--r--c/src/exec/rtems/macros/rtems/rtems/sem.inl5
-rw-r--r--cpukit/rtems/ChangeLog5
-rw-r--r--cpukit/rtems/macros/rtems/rtems/sem.inl5
4 files changed, 20 insertions, 0 deletions
diff --git a/c/src/exec/rtems/ChangeLog b/c/src/exec/rtems/ChangeLog
index 1ad3281142..8e813001c8 100644
--- a/c/src/exec/rtems/ChangeLog
+++ b/c/src/exec/rtems/ChangeLog
@@ -1,3 +1,8 @@
+2000-11-30 Joel Sherrill <joel@OARcorp.com>
+
+ * macros/rtems/rtems/sem.inl: Added macro implementation of
+ _Semaphore_Get_interrupt_disable().
+
2000-10-18 Joel Sherrill <joel@OARcorp.com>
* src/regiongetinfo.c, include/rtems/rtems/region.h,
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
diff --git a/cpukit/rtems/ChangeLog b/cpukit/rtems/ChangeLog
index 1ad3281142..8e813001c8 100644
--- a/cpukit/rtems/ChangeLog
+++ b/cpukit/rtems/ChangeLog
@@ -1,3 +1,8 @@
+2000-11-30 Joel Sherrill <joel@OARcorp.com>
+
+ * macros/rtems/rtems/sem.inl: Added macro implementation of
+ _Semaphore_Get_interrupt_disable().
+
2000-10-18 Joel Sherrill <joel@OARcorp.com>
* src/regiongetinfo.c, include/rtems/rtems/region.h,
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