summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSebastian Huber <sebastian.huber@embedded-brains.de>2016-05-18 08:08:38 +0200
committerSebastian Huber <sebastian.huber@embedded-brains.de>2016-05-20 07:50:37 +0200
commitc2f301b580ebb4a46d657651a814bc9348103546 (patch)
treeba75220f4a2ab65a07d984f37891ff72c521dc38
parentscore: Rename _ISR_Disable() and _ISR_Enable() (diff)
downloadrtems-c2f301b580ebb4a46d657651a814bc9348103546.tar.bz2
score: Rename _ISR_Flash() into _ISR_Local_flash()
This is a preparation to remove the Giant lock. Update #2555.
-rw-r--r--cpukit/rtems/include/rtems/rtems/intr.h2
-rw-r--r--cpukit/rtems/src/intrbody.c2
-rw-r--r--cpukit/score/include/rtems/score/isrlevel.h2
-rw-r--r--cpukit/score/include/rtems/score/isrlock.h4
-rw-r--r--testsuites/tmtests/tm26/task1.c2
5 files changed, 6 insertions, 6 deletions
diff --git a/cpukit/rtems/include/rtems/rtems/intr.h b/cpukit/rtems/include/rtems/rtems/intr.h
index 4142230b31..7f99d93883 100644
--- a/cpukit/rtems/include/rtems/rtems/intr.h
+++ b/cpukit/rtems/include/rtems/rtems/intr.h
@@ -123,7 +123,7 @@ rtems_status_code rtems_interrupt_catch(
* available on all configurations.
*/
#define rtems_interrupt_flash( _isr_cookie ) \
- _ISR_Flash(_isr_cookie)
+ _ISR_Local_flash(_isr_cookie)
#endif /* RTEMS_SMP */
diff --git a/cpukit/rtems/src/intrbody.c b/cpukit/rtems/src/intrbody.c
index abee60d5b7..1fabd4cdd8 100644
--- a/cpukit/rtems/src/intrbody.c
+++ b/cpukit/rtems/src/intrbody.c
@@ -63,7 +63,7 @@ void rtems_interrupt_flash(
rtems_interrupt_level previous_level
)
{
- _ISR_Flash( previous_level );
+ _ISR_Local_flash( previous_level );
}
#endif /* RTEMS_SMP */
diff --git a/cpukit/score/include/rtems/score/isrlevel.h b/cpukit/score/include/rtems/score/isrlevel.h
index 0eccd3aea1..2ad1740cd4 100644
--- a/cpukit/score/include/rtems/score/isrlevel.h
+++ b/cpukit/score/include/rtems/score/isrlevel.h
@@ -97,7 +97,7 @@ typedef uint32_t ISR_Level;
* @param[in] _level The interrupt level previously obtained by
* _ISR_Local_disable().
*/
-#define _ISR_Flash( _level ) \
+#define _ISR_Local_flash( _level ) \
do { \
RTEMS_COMPILER_MEMORY_BARRIER(); \
_CPU_ISR_Flash( _level ); \
diff --git a/cpukit/score/include/rtems/score/isrlock.h b/cpukit/score/include/rtems/score/isrlock.h
index 3843fd6454..294adecfb0 100644
--- a/cpukit/score/include/rtems/score/isrlock.h
+++ b/cpukit/score/include/rtems/score/isrlock.h
@@ -303,7 +303,7 @@ typedef struct {
/**
* @brief Flashes an ISR lock.
*
- * On uni-processor configurations this a simple _ISR_Flash(). On SMP
+ * On uni-processor configurations this a simple _ISR_Local_flash(). On SMP
* configurations this function releases an SMP lock, restores the interrupt
* status, then disables interrupts and acquires the SMP lock again.
*
@@ -328,7 +328,7 @@ typedef struct {
)
#else
#define _ISR_lock_Flash( _lock, _context ) \
- _ISR_Flash( ( _context )->isr_level )
+ _ISR_Local_flash( ( _context )->isr_level )
#endif
#if defined( RTEMS_PROFILING )
diff --git a/testsuites/tmtests/tm26/task1.c b/testsuites/tmtests/tm26/task1.c
index 84811b87a1..69fdc4810d 100644
--- a/testsuites/tmtests/tm26/task1.c
+++ b/testsuites/tmtests/tm26/task1.c
@@ -552,7 +552,7 @@ void complete_test( void )
);
put_time(
- "rtems interrupt: _ISR_Flash",
+ "rtems interrupt: _ISR_Local_flash",
isr_flash_time,
1,
0,