RTEMS: cpukit/include/rtems/score/isrlock.h File Reference

| RTEMS 5.4-rc2

Loading...
Searching...
No Matches
Data Structures | Macros | Functions
isrlock.h File Reference
Internal » SuperCore » ISR Handler » ISR Locks

ISR Locks. More...

`#include <rtems/score/isrlevel.h>`
`#include <rtems/score/smplock.h>`

Go to the source code of this file.

## Data Structures
struct | ISR_lock_Control
| ISR lock control. More...
struct | ISR_lock_Context
| Local ISR lock context for acquire and release pairs. More...

## Macros
#define | ISR_LOCK_MEMBER(_designator)
| Defines an ISR lock member.
#define | ISR_LOCK_DECLARE(_qualifier, _designator)
| Declares an ISR lock variable.
#define | ISR_LOCK_DEFINE(_qualifier, _designator, _name)
| Defines an ISR lock variable.
#define | ISR_LOCK_REFERENCE(_designator, _target)
| Defines an ISR lock variable reference.
#define | ISR_LOCK_INITIALIZER(_name) { }
| Initializer for static initialization of ISR locks.
#define | _ISR_lock_Initialize(_lock, _name)
| Initializes an ISR lock.
#define | _ISR_lock_Destroy(_lock)
| Destroys an ISR lock.
#define | _ISR_lock_Set_name(_lock, _name)
| Sets the name of an ISR lock.
#define | _ISR_lock_ISR_disable_and_acquire(_lock, _context) _ISR_Local_disable( ( _context )->isr_level )
| Acquires an ISR lock.
#define | _ISR_lock_Release_and_ISR_enable(_lock, _context) _ISR_Local_enable( ( _context )->isr_level )
| Releases an ISR lock.
#define | _ISR_lock_Acquire(_lock, _context) do { (void) _context; } while ( 0 )
| Acquires an ISR lock inside an ISR disabled section.
#define | _ISR_lock_Release(_lock, _context) do { (void) _context; } while ( 0 )
| Releases an ISR lock inside an ISR disabled section.
#define | _ISR_lock_Acquire_inline(_lock, _context) do { (void) _context; } while ( 0 )
| Acquires an ISR lock inside an ISR disabled section (inline).
#define | _ISR_lock_Release_inline(_lock, _context) do { (void) _context; } while ( 0 )
| Releases an ISR lock inside an ISR disabled section (inline).
#define | _ISR_lock_ISR_disable_profile(_context)
#define | _ISR_lock_ISR_disable(_context)
| Disables interrupts and saves the previous interrupt state in the ISR lock context.
#define | _ISR_lock_ISR_enable(_context) _ISR_Local_enable( ( _context )->isr_level )
| Restores the saved interrupt state of the ISR lock context.

## Functions
RTEMS_INLINE_ROUTINE void | _ISR_lock_Context_set_level (ISR_lock_Context *context, ISR_Level level)
| Sets the ISR level in the ISR lock context.

## Detailed Description

ISR Locks.