1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-27 09:27:35 +00:00

Kernel: Add bare-minimum implementation for aarch64 Spinlock

This commit is contained in:
Timon Kruiper 2022-05-03 00:14:33 +02:00 committed by Andreas Kling
parent 9abcb6700c
commit 8e0bd63b0c

View file

@ -6,28 +6,27 @@
#include <Kernel/Arch/Spinlock.h>
// FIXME: Actually implement the correct logic once the aarch64 build can
// do interrupts and/or has support for multiple processors.
namespace Kernel {
u32 Spinlock::lock()
{
VERIFY_NOT_REACHED();
return 0;
}
void Spinlock::unlock(u32)
{
VERIFY_NOT_REACHED();
}
u32 RecursiveSpinlock::lock()
{
VERIFY_NOT_REACHED();
return 0;
}
void RecursiveSpinlock::unlock(u32)
{
VERIFY_NOT_REACHED();
}
}