1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-25 23:17:45 +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:
Jesse Buhagiar 2022-10-17 23:50:42 +11:00 committed by Linus Groh
parent 07649bcb02
commit 2db73f2171
2 changed files with 23 additions and 0 deletions

View file

@ -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

View file

@ -516,6 +516,7 @@ else()
Graphics/Console/BootFramebufferConsole.cpp
Graphics/Console/GenericFramebufferConsole.cpp
Locking/Mutex.cpp
Locking/Spinlock.cpp
Memory/AddressSpace.cpp