24 if (
NULL == spinlock) {
Basic type definitions and useful macros.
#define NULL
NULL pointer.
Include appropriate config file.
const bool LZ_CONFIG_CHECK_NULL_PARAMETERS_IN_SPINLOCKS
When 1, always check for NULL functions parameters in spinlocks implementation.
void Kernel_ManageFailure(void)
Manage a failure that can happen in a function call.
Kernel symbols definition.
void Lz_Spinlock_Unlock(Lz_Spinlock *const spinlock)
Unset the lock and leave region.
volatile uint8_t Lz_Spinlock
Type used to represent a spinlock.
#define LZ_SPINLOCK_INIT
Define the initialization value for the type Lz_Spinlock.