summaryrefslogtreecommitdiffstats
path: root/cpukit/score/src/coremutexseize.c
diff options
context:
space:
mode:
authorJennifer Averett <Jennifer.Averett@OARcorp.com>2008-01-25 20:14:45 +0000
committerJennifer Averett <Jennifer.Averett@OARcorp.com>2008-01-25 20:14:45 +0000
commit81f595760d1a5b85c7650c53957fc01fe17582c6 (patch)
treef1859c79870cc9a1aa9045dadbb584c6e57a743d /cpukit/score/src/coremutexseize.c
parent2008-01-25 Joel Sherrill <joel.sherrill@oarcorp.com> (diff)
downloadrtems-81f595760d1a5b85c7650c53957fc01fe17582c6.tar.bz2
2008-01-25 Jennifer Averett <jennifer.averett@OARcorp.com>
* sapi/include/rtems/fatal.h, score/include/rtems/score/coremutex.h, score/include/rtems/score/interr.h, score/inline/rtems/score/thread.inl, score/src/coremutexseize.c: Modifications to aid in full path testing.
Diffstat (limited to 'cpukit/score/src/coremutexseize.c')
-rw-r--r--cpukit/score/src/coremutexseize.c13
1 files changed, 13 insertions, 0 deletions
diff --git a/cpukit/score/src/coremutexseize.c b/cpukit/score/src/coremutexseize.c
index 2fdc4d6fc4..3dc3a70c5b 100644
--- a/cpukit/score/src/coremutexseize.c
+++ b/cpukit/score/src/coremutexseize.c
@@ -27,6 +27,19 @@
#include <rtems/score/thread.h>
#include <rtems/score/threadq.h>
+#if defined(__RTEMS_DO_NOT_INLINE_CORE_MUTEX_SEIZE__)
+void _CORE_mutex_Seize(
+ CORE_mutex_Control *_the_mutex,
+ Objects_Id _id,
+ boolean _wait,
+ Watchdog_Interval _timeout,
+ ISR_Level _level
+)
+{
+ _CORE_mutex_Seize_body( _the_mutex, _id, _wait, _timeout, _level );
+}
+#endif
+
/*PAGE
*
* _CORE_mutex_Seize (interrupt blocking support)