diff options
author | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2016-05-18 08:08:38 +0200 |
---|---|---|
committer | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2016-05-20 07:50:37 +0200 |
commit | c2f301b580ebb4a46d657651a814bc9348103546 (patch) | |
tree | ba75220f4a2ab65a07d984f37891ff72c521dc38 /cpukit | |
parent | score: Rename _ISR_Disable() and _ISR_Enable() (diff) | |
download | rtems-c2f301b580ebb4a46d657651a814bc9348103546.tar.bz2 |
score: Rename _ISR_Flash() into _ISR_Local_flash()
This is a preparation to remove the Giant lock.
Update #2555.
Diffstat (limited to '')
-rw-r--r-- | cpukit/rtems/include/rtems/rtems/intr.h | 2 | ||||
-rw-r--r-- | cpukit/rtems/src/intrbody.c | 2 | ||||
-rw-r--r-- | cpukit/score/include/rtems/score/isrlevel.h | 2 | ||||
-rw-r--r-- | cpukit/score/include/rtems/score/isrlock.h | 4 |
4 files changed, 5 insertions, 5 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 ) |