diff options
author | Timon Kruiper <timonkruiper@gmail.com> | 2022-05-03 00:14:33 +0200 |
---|---|---|
committer | Andreas Kling <kling@serenityos.org> | 2022-05-03 21:53:36 +0200 |
commit | 8e0bd63b0cd8b8267ac3e92cf9840236e39f41fe (patch) | |
tree | 4c65f64fcc843312fb919078f48ae9a5fdf0a73f /Kernel | |
parent | 9abcb6700c3b3d0a465a1991aa06e2524dc68c07 (diff) | |
download | serenity-8e0bd63b0cd8b8267ac3e92cf9840236e39f41fe.zip |
Kernel: Add bare-minimum implementation for aarch64 Spinlock
Diffstat (limited to 'Kernel')
-rw-r--r-- | Kernel/Arch/aarch64/Spinlock.cpp | 7 |
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(); } } |