summaryrefslogtreecommitdiff
path: root/Kernel/Arch/aarch64
diff options
context:
space:
mode:
authorTimon Kruiper <timonkruiper@gmail.com>2022-05-03 00:19:49 +0200
committerAndreas Kling <kling@serenityos.org>2022-05-03 21:53:36 +0200
commit3b4d2d9b519246b9a0129d96a5fde8d9a181ec24 (patch)
tree2f7d3c972734e7062e90ec7a379448a0fdfc1c03 /Kernel/Arch/aarch64
parent8e0bd63b0cd8b8267ac3e92cf9840236e39f41fe (diff)
downloadserenity-3b4d2d9b519246b9a0129d96a5fde8d9a181ec24.zip
Kernel: Remove VERIFY_NOT_REACHED in {current, idle}_thread for aarch64
These functions are called by kmalloc, and since there is no support for threading in the aarch64 build yet, we can simply remove the VERIFY_NOT_REACHED().
Diffstat (limited to 'Kernel/Arch/aarch64')
-rw-r--r--Kernel/Arch/aarch64/Processor.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/Kernel/Arch/aarch64/Processor.h b/Kernel/Arch/aarch64/Processor.h
index d828964299..ed2e6bfdd8 100644
--- a/Kernel/Arch/aarch64/Processor.h
+++ b/Kernel/Arch/aarch64/Processor.h
@@ -85,10 +85,10 @@ public:
return 0;
}
+ // FIXME: Actually return the current thread once aarch64 supports threading.
ALWAYS_INLINE static Thread* current_thread()
{
- VERIFY_NOT_REACHED();
- return 0;
+ return nullptr;
}
ALWAYS_INLINE bool has_nx() const
@@ -121,9 +121,9 @@ public:
return 0;
}
+ // FIXME: Actually return the idle thread once aarch64 supports threading.
ALWAYS_INLINE static Thread* idle_thread()
{
- VERIFY_NOT_REACHED();
return nullptr;
}