RTEMS 6.1-rc4
|
This header file provides the interfaces of the ISR Locks. More...
Go to the source code of this file.
Data Structures | |
struct | ISR_lock_Context |
Local ISR lock context for acquire and release pairs. More... | |
Macros | |
#define | ISR_LOCK_NEEDS_OBJECT 0 |
If this define has a non-zero value, then the interrupt lock operations require an object of type ::ISR_lock_Control, otherwise no lock object is required. | |
#define | _ISR_lock_Initialize(_lock, _name) do { (void) _name; } while (0) |
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. | |
This header file provides the interfaces of the ISR Locks.