initial razzle
This commit is contained in:
commit
cd3d8871df
29 changed files with 1986 additions and 0 deletions
9
kernel/spin_lock.c
Normal file
9
kernel/spin_lock.c
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
#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); }
|
||||
Loading…
Add table
Add a link
Reference in a new issue