Kernel/aarch64: Add stubs for Mutex::lock and Mutex::unlock

Also add the g_scheduler_lock to the Dummy.cpp. This makes the aarch64
build succeeded again.
This commit is contained in:
Timon Kruiper 2022-08-23 17:15:18 +02:00 committed by Andreas Kling
parent 26a3b42a15
commit c1b0d254fd
Notes: sideshowbarker 2024-07-17 08:13:43 +09:00

View file

@ -21,6 +21,7 @@
namespace Kernel {
READONLY_AFTER_INIT Thread* g_finalizer;
RecursiveSpinlock g_scheduler_lock { LockRank::None };
}
@ -34,6 +35,21 @@ void get_fast_random_bytes(Bytes)
}
// Mutex
namespace Kernel {
void Mutex::lock(Mode, [[maybe_unused]] LockLocation const& location)
{
VERIFY_NOT_REACHED();
}
void Mutex::unlock()
{
VERIFY_NOT_REACHED();
}
}
// Inode
namespace Kernel {