40#ifndef _RTEMS_SCORE_ISR_LEVEL_h
41#define _RTEMS_SCORE_ISR_LEVEL_h
43#include <rtems/score/cpu.h>
76#define _ISR_Local_disable( _level ) \
78 _CPU_ISR_Disable( _level ); \
79 RTEMS_COMPILER_MEMORY_BARRIER(); \
93#define _ISR_Local_enable( _level ) \
95 RTEMS_COMPILER_MEMORY_BARRIER(); \
96 _CPU_ISR_Enable( _level ); \
118#define _ISR_Local_flash( _level ) \
120 RTEMS_COMPILER_MEMORY_BARRIER(); \
121 _CPU_ISR_Flash( _level ); \
122 RTEMS_COMPILER_MEMORY_BARRIER(); \
134#define _ISR_Is_enabled( _level ) \
135 _CPU_ISR_Is_enabled( _level )
147#define _ISR_Get_level() \
159#define _ISR_Set_level( _new_level ) \
161 RTEMS_COMPILER_MEMORY_BARRIER(); \
162 _CPU_ISR_Set_level( _new_level ); \
163 RTEMS_COMPILER_MEMORY_BARRIER(); \
This header file provides the interfaces of the Assert Handler.
bool _ISR_Is_in_progress(void)
Checks if an ISR in progress.
Definition: nios2-isr-is-in-progress.c:36
uint32_t ISR_Level
Definition: isrlevel.h:60