diff options
Diffstat (limited to '')
-rw-r--r-- | cpukit/score/cpu/epiphany/rtems/score/cpu.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/cpukit/score/cpu/epiphany/rtems/score/cpu.h b/cpukit/score/cpu/epiphany/rtems/score/cpu.h index 9d11a3d0ad..871f30ef9c 100644 --- a/cpukit/score/cpu/epiphany/rtems/score/cpu.h +++ b/cpukit/score/cpu/epiphany/rtems/score/cpu.h @@ -525,6 +525,11 @@ static inline void epiphany_interrupt_enable(uint32_t level) epiphany_interrupt_disable(); \ } while(0) +RTEMS_INLINE_ROUTINE bool _CPU_ISR_Is_enabled( uint32_t level ) +{ + return ( level & 0x2 ) != 0; +} + /* * Map interrupt level in task mode onto the hardware that the CPU * actually provides. Currently, interrupt levels which do not |