summaryrefslogtreecommitdiff
path: root/Kernel
diff options
context:
space:
mode:
authorAndreas Kling <awesomekling@gmail.com>2018-10-27 15:02:39 +0200
committerAndreas Kling <awesomekling@gmail.com>2018-10-27 15:02:39 +0200
commitde2fb183cc9c0fb6ac62953d28f6eae5ee9025eb (patch)
treec0005248dc1de9878a8e3dbb228ff4818176222b /Kernel
parent9a71c7759a0684a52d2e5619a2312bc8da7b11da (diff)
downloadserenity-de2fb183cc9c0fb6ac62953d28f6eae5ee9025eb.zip
Rename "kernel map" concept to just "ksyms"
Diffstat (limited to 'Kernel')
-rw-r--r--Kernel/_fs_contentsbin1024000 -> 1024000 bytes
-rw-r--r--Kernel/init.cpp8
2 files changed, 4 insertions, 4 deletions
diff --git a/Kernel/_fs_contents b/Kernel/_fs_contents
index 9e4402d690..1adddde26b 100644
--- a/Kernel/_fs_contents
+++ b/Kernel/_fs_contents
Binary files differ
diff --git a/Kernel/init.cpp b/Kernel/init.cpp
index b36563dc6d..64ade214da 100644
--- a/Kernel/init.cpp
+++ b/Kernel/init.cpp
@@ -27,7 +27,7 @@
#include "RTC.h"
#define TEST_VFS
-#define KERNEL_MAP
+#define KSYMS
//#define STRESS_TEST_SPAWNING
//#define TEST_ELF_LOADER
@@ -74,7 +74,7 @@ const KSym* ksymbolicate(dword address)
return nullptr;
}
-static void loadKernelMap(const ByteBuffer& buffer)
+static void loadKsyms(const ByteBuffer& buffer)
{
s_ksyms = new Vector<KSym>;
auto* bufptr = (const char*)buffer.pointer();
@@ -139,7 +139,7 @@ static void init_stage2()
vfs->mountRoot(e2fs.copyRef());
-#ifdef KERNEL_MAP
+#ifdef KSYMS
{
auto handle = vfs->open("/kernel.map");
if (!handle) {
@@ -147,7 +147,7 @@ static void init_stage2()
} else {
auto buffer = handle->readEntireFile();
ASSERT(buffer);
- loadKernelMap(buffer);
+ loadKsyms(buffer);
}
}
#endif