summaryrefslogtreecommitdiff
path: root/Kernel
diff options
context:
space:
mode:
authorTimon Kruiper <timonkruiper@gmail.com>2022-05-02 22:34:58 +0200
committerAndreas Kling <kling@serenityos.org>2022-05-03 21:53:36 +0200
commit267febae558ffa0bdecd9106c7fdf4f25898363c (patch)
treef114c14fb4e8a7348ffc7b799aafc24564d125e1 /Kernel
parent442800db3e5e225bfa45c76c58bae9a5fd7de6ab (diff)
downloadserenity-267febae558ffa0bdecd9106c7fdf4f25898363c.zip
Kernel: Add KSyms.cpp to the aarch64 build
This is the first step in making dump_backtrace() work.
Diffstat (limited to 'Kernel')
-rw-r--r--Kernel/Arch/aarch64/Dummy.cpp11
-rw-r--r--Kernel/CMakeLists.txt1
2 files changed, 1 insertions, 11 deletions
diff --git a/Kernel/Arch/aarch64/Dummy.cpp b/Kernel/Arch/aarch64/Dummy.cpp
index e9807e6843..c8f9092861 100644
--- a/Kernel/Arch/aarch64/Dummy.cpp
+++ b/Kernel/Arch/aarch64/Dummy.cpp
@@ -9,7 +9,6 @@
#include <Kernel/FileSystem/Inode.h>
#include <Kernel/KString.h>
-#include <Kernel/KSyms.h>
#include <Kernel/Locking/SpinlockProtected.h>
#include <Kernel/Memory/SharedInodeVMObject.h>
#include <Kernel/Panic.h>
@@ -124,17 +123,7 @@ READONLY_AFTER_INIT u8 multiboot_framebuffer_bpp;
READONLY_AFTER_INIT u8 multiboot_framebuffer_type;
}
-// KSyms.cpp
namespace Kernel {
-bool g_kernel_symbols_available = false;
-}
-
-namespace Kernel {
-
-void dump_backtrace(PrintToScreen)
-{
- VERIFY_NOT_REACHED();
-}
// KString.cpp
ErrorOr<NonnullOwnPtr<KString>> KString::try_create_uninitialized(size_t, char*&)
diff --git a/Kernel/CMakeLists.txt b/Kernel/CMakeLists.txt
index b68dc6877c..f1a1c6231d 100644
--- a/Kernel/CMakeLists.txt
+++ b/Kernel/CMakeLists.txt
@@ -426,6 +426,7 @@ else()
# Files from base Kernel
Heap/kmalloc.cpp
MiniStdLib.cpp
+ KSyms.cpp
Memory/AddressSpace.cpp
Memory/AnonymousVMObject.cpp