diff options
author | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2016-05-18 08:06:54 +0200 |
---|---|---|
committer | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2016-05-20 07:50:37 +0200 |
commit | 247131632173158cb2668d4e5c7464951b668067 (patch) | |
tree | 4242eb55b8a0721d94b01357195ef9441f561d18 /cpukit/score/include/rtems/score/assert.h | |
parent | score: Rename _ISR_Disable_without_giant() (diff) | |
download | rtems-247131632173158cb2668d4e5c7464951b668067.tar.bz2 |
score: Rename _ISR_Disable() and _ISR_Enable()
Rename _ISR_Disable() into _ISR_Local_disable(). Rename _ISR_Enable()
into _ISR_Local_enable(). Remove _Debug_Is_owner_of_giant().
This is a preparation to remove the Giant lock.
Update #2555.
Diffstat (limited to 'cpukit/score/include/rtems/score/assert.h')
-rw-r--r-- | cpukit/score/include/rtems/score/assert.h | 13 |
1 files changed, 1 insertions, 12 deletions
diff --git a/cpukit/score/include/rtems/score/assert.h b/cpukit/score/include/rtems/score/assert.h index 69736ae70e..c61c0a0399 100644 --- a/cpukit/score/include/rtems/score/assert.h +++ b/cpukit/score/include/rtems/score/assert.h @@ -95,24 +95,13 @@ extern "C" { * @brief Returns true if thread dispatching is allowed. * * Thread dispatching can be repressed via _Thread_Disable_dispatch() or - * _ISR_Disable(). + * _ISR_Local_disable(). */ #if defined( RTEMS_DEBUG ) bool _Debug_Is_thread_dispatching_allowed( void ); #endif /** - * @brief Returns true if the current thread of execution owns the giant lock. - */ -#if defined( RTEMS_DEBUG ) - #if defined( RTEMS_SMP ) - bool _Debug_Is_owner_of_giant( void ); - #else - #define _Debug_Is_owner_of_giant() (true) - #endif -#endif - -/** * @brief Returns true if the current thread of execution owns the allocator * mutex. */ |