21 #if defined(RTEMS_SMP_LOCK_DO_NOT_INLINE) 44 #if defined(RTEMS_SMP_LOCK_DO_NOT_INLINE) 62 #if defined(RTEMS_SMP_LOCK_DO_NOT_INLINE) 72 #if defined(RTEMS_DEBUG) 75 return lock->owner == _SMP_lock_Who_am_I();
Local SMP lock context for acquire and release pairs.
static void _SMP_lock_Initialize_inline(SMP_lock_Control *lock, const char *name)
Initializes the SMP lock with the given name.
static void _SMP_lock_Release_and_ISR_enable_inline(SMP_lock_Control *lock, SMP_lock_Context *context)
Releases the SMP lock and enables interrupts.
static void _SMP_lock_Destroy_inline(SMP_lock_Control *lock)
Destroys the SMP lock.
void _SMP_lock_Acquire(SMP_lock_Control *lock, SMP_lock_Context *context)
Acquires an SMP lock.
#define _SMP_lock_Release_and_ISR_enable(lock, context)
Releases the SMP lock and enables interrupts.
static void _SMP_lock_Release_inline(SMP_lock_Control *lock, SMP_lock_Context *context)
Releases an SMP lock.
static void _SMP_lock_ISR_disable_and_acquire_inline(SMP_lock_Control *lock, SMP_lock_Context *context)
Disables interrupts and acquires the SMP lock.
void _SMP_lock_ISR_disable_and_acquire(SMP_lock_Control *lock, SMP_lock_Context *context)
Disables interrupts and acquires the SMP lock.
#define _SMP_lock_Release(lock, context)
Releases an SMP lock.
#define _SMP_lock_Destroy(lock)
Destroys an SMP lock.
#define _SMP_lock_Initialize(lock, name)
Initializes an SMP lock.
static void _SMP_lock_Acquire_inline(SMP_lock_Control *lock, SMP_lock_Context *context)
Gets my index.