mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-09-03 08:08:43 +00:00
Kernel: Reintroduce Mutex.cpp
to aarch64 build
A few more stubs have been added to support the building of this file
This commit is contained in:
parent
07649bcb02
commit
2db73f2171
Notes:
sideshowbarker
2024-07-17 05:23:05 +09:00
Author: https://github.com/Quaker762
Commit: 2db73f2171
Pull-request: https://github.com/SerenityOS/serenity/pull/15661
Reviewed-by: https://github.com/ADKaster ✅
Reviewed-by: https://github.com/FireFox317
Reviewed-by: https://github.com/gunnarbeutner
Reviewed-by: https://github.com/linusg
2 changed files with 23 additions and 0 deletions
|
@ -91,6 +91,9 @@ LockRefPtr<Process> Process::from_pid(Kernel::ProcessID)
|
|||
// Thread
|
||||
namespace Kernel {
|
||||
|
||||
class Timer : public AtomicRefCounted<Timer> {
|
||||
};
|
||||
|
||||
bool Thread::JoinBlocker::unblock(void*, bool)
|
||||
{
|
||||
TODO_AARCH64();
|
||||
|
@ -139,6 +142,25 @@ Thread::Blocker::~Blocker()
|
|||
TODO_AARCH64();
|
||||
}
|
||||
|
||||
u32 Thread::unblock_from_mutex(Kernel::Mutex&)
|
||||
{
|
||||
TODO_AARCH64();
|
||||
}
|
||||
|
||||
void Thread::block(Kernel::Mutex&, SpinlockLocker<Kernel::Spinlock>&, u32)
|
||||
{
|
||||
TODO_AARCH64();
|
||||
}
|
||||
|
||||
SpinlockProtected<Thread::GlobalList>& Thread::all_instances()
|
||||
{
|
||||
TODO_AARCH64();
|
||||
}
|
||||
|
||||
Thread::~Thread()
|
||||
{
|
||||
TODO_AARCH64();
|
||||
}
|
||||
}
|
||||
|
||||
// PerformanceEventBuffer
|
||||
|
|
|
@ -516,6 +516,7 @@ else()
|
|||
Graphics/Console/BootFramebufferConsole.cpp
|
||||
Graphics/Console/GenericFramebufferConsole.cpp
|
||||
|
||||
Locking/Mutex.cpp
|
||||
Locking/Spinlock.cpp
|
||||
|
||||
Memory/AddressSpace.cpp
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue