mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-11-22 15:40:19 +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
Notes:
sideshowbarker
2024-07-17 08:13:43 +09:00
Author: https://github.com/FireFox317 Commit: https://github.com/SerenityOS/serenity/commit/c1b0d254fd Pull-request: https://github.com/SerenityOS/serenity/pull/14995 Reviewed-by: https://github.com/ADKaster Reviewed-by: https://github.com/bgianfo
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…
Reference in a new issue