Files
mop3/kernel/sys/spin_lock.h
kamkow1 270ff507d4
All checks were successful
Build documentation / build-and-deploy (push) Successful in 21s
Implement lock IRQ nesting via stack variables/contexts
2026-01-14 22:11:56 +01:00

13 lines
218 B
C

#ifndef _KERNEL_SYS_SPIN_LOCK_H
#define _KERNEL_SYS_SPIN_LOCK_H
#include <libk/std.h>
#if defined(__x86_64__)
typedef uint64_t spin_lock_ctx_t;
#endif
void spin_lock_relax (void);
#endif // _KERNEL_SYS_SPIN_LOCK_H