summaryrefslogtreecommitdiff
path: root/Kernel
diff options
context:
space:
mode:
authorJesse Buhagiar <jooster669@gmail.com>2022-10-17 23:50:42 +1100
committerLinus Groh <mail@linusgroh.de>2022-10-18 13:08:25 +0200
commit2db73f2171e1af0683c83932eab680f089e448eb (patch)
tree81c6ca7c11aef6e773997754dbe4bb1cd8bd67ea /Kernel
parent07649bcb028f1bab4fd579ab6fa72fe3fd390706 (diff)
downloadserenity-2db73f2171e1af0683c83932eab680f089e448eb.zip
Kernel: Reintroduce `Mutex.cpp` to aarch64 build
A few more stubs have been added to support the building of this file
Diffstat (limited to 'Kernel')
-rw-r--r--Kernel/Arch/aarch64/Dummy.cpp22
-rw-r--r--Kernel/CMakeLists.txt1
2 files changed, 23 insertions, 0 deletions
diff --git a/Kernel/Arch/aarch64/Dummy.cpp b/Kernel/Arch/aarch64/Dummy.cpp
index 824dc3be56..67481834de 100644
--- a/Kernel/Arch/aarch64/Dummy.cpp
+++ b/Kernel/Arch/aarch64/Dummy.cpp
@@ -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
diff --git a/Kernel/CMakeLists.txt b/Kernel/CMakeLists.txt
index ca65dab1e3..5b0448fd1a 100644
--- a/Kernel/CMakeLists.txt
+++ b/Kernel/CMakeLists.txt
@@ -516,6 +516,7 @@ else()
Graphics/Console/BootFramebufferConsole.cpp
Graphics/Console/GenericFramebufferConsole.cpp
+ Locking/Mutex.cpp
Locking/Spinlock.cpp
Memory/AddressSpace.cpp