razzle/kernel/spin_lock.c

10 lines
182 B
C
Raw Permalink Normal View History

2024-10-03 07:55:54 +00:00
#pragma once
#ifdef ARCH_I386
#include "../arch/i386/asm.c"
#endif
void sl_acquire(uint32_t *lock) { __sl_acquire(lock); }
void sl_release(uint32_t *lock) { __sl_release(lock); }