1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-25 18:07:34 +00:00

Kernel: Add KSyms.cpp to the aarch64 build

This is the first step in making dump_backtrace() work.
This commit is contained in:
Timon Kruiper 2022-05-02 22:34:58 +02:00 committed by Andreas Kling
parent 442800db3e
commit 267febae55
2 changed files with 1 additions and 11 deletions

View file

@ -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*&)

View file

@ -426,6 +426,7 @@ else()
# Files from base Kernel
Heap/kmalloc.cpp
MiniStdLib.cpp
KSyms.cpp
Memory/AddressSpace.cpp
Memory/AnonymousVMObject.cpp