#ifndef SPINLOCK_H #define SPINLOCK_H #include typedef uint8_t spinlock; volatile void lock_spin(spinlock); void lock_release(spinlock); #endif