mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 08:07:34 +00:00
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:
parent
26a3b42a15
commit
c1b0d254fd
1 changed files with 16 additions and 0 deletions
|
@ -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 {
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue