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
commit 8e0bd63b0c
Notes: sideshowbarker 2024-07-18 00:54:03 +09:00

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();
}
}