PMM and liballoc port
This commit is contained in:
5
kernel/amd64/spin_lock.c
Normal file
5
kernel/amd64/spin_lock.c
Normal file
@@ -0,0 +1,5 @@
|
||||
#include <sys/spin_lock.h>
|
||||
|
||||
void spin_lock_relax(void) {
|
||||
__asm__ volatile("pause");
|
||||
}
|
||||
Reference in New Issue
Block a user