summaryrefslogtreecommitdiff
path: root/Kernel
diff options
context:
space:
mode:
authorTimon Kruiper <timonkruiper@gmail.com>2022-05-03 00:14:33 +0200
committerAndreas Kling <kling@serenityos.org>2022-05-03 21:53:36 +0200
commit8e0bd63b0cd8b8267ac3e92cf9840236e39f41fe (patch)
tree4c65f64fcc843312fb919078f48ae9a5fdf0a73f /Kernel
parent9abcb6700c3b3d0a465a1991aa06e2524dc68c07 (diff)
downloadserenity-8e0bd63b0cd8b8267ac3e92cf9840236e39f41fe.zip
Kernel: Add bare-minimum implementation for aarch64 Spinlock
Diffstat (limited to 'Kernel')
-rw-r--r--Kernel/Arch/aarch64/Spinlock.cpp7
1 files changed, 3 insertions, 4 deletions
diff --git a/Kernel/Arch/aarch64/Spinlock.cpp b/Kernel/Arch/aarch64/Spinlock.cpp
index fe549aa450..e9bdb014eb 100644
--- a/Kernel/Arch/aarch64/Spinlock.cpp
+++ b/Kernel/Arch/aarch64/Spinlock.cpp
@@ -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();
}
}