coreboot
coreboot is an Open Source project aimed at replacing the proprietary BIOS found in most computers.
spinlock.h File Reference

Go to the source code of this file.

Macros

#define DECLARE_SPIN_LOCK(x)
 
#define spin_is_locked(lock)   0
 
#define spin_unlock_wait(lock)   do {} while (0)
 
#define spin_lock(lock)   do {} while (0)
 
#define spin_unlock(lock)   do {} while (0)
 

Macro Definition Documentation

◆ DECLARE_SPIN_LOCK

#define DECLARE_SPIN_LOCK (   x)

Definition at line 8 of file spinlock.h.

◆ spin_is_locked

#define spin_is_locked (   lock)    0

Definition at line 9 of file spinlock.h.

◆ spin_lock

#define spin_lock (   lock)    do {} while (0)

Definition at line 11 of file spinlock.h.

◆ spin_unlock

#define spin_unlock (   lock)    do {} while (0)

Definition at line 12 of file spinlock.h.

◆ spin_unlock_wait

#define spin_unlock_wait (   lock)    do {} while (0)

Definition at line 10 of file spinlock.h.