smol-gilbraltar/include/spinlock.h
2024-12-23 01:46:17 +01:00

11 lines
272 B
C

#ifndef __GILBRALTAR_SPINLOCK__
#define __GILBRALTAR_SPINLOCK__
#include <stdint.h>
#include <synchronize.h>
void gilbraltar_spinlock_init(void);
void gilbraltar_spinlock_acquire(enum level, uint32_t *);
void gilbraltar_spinlock_release(enum level, uint32_t *);
#endif