summaryrefslogtreecommitdiff
path: root/Kernel/system.h
diff options
context:
space:
mode:
authorAndreas Kling <awesomekling@gmail.com>2018-12-24 22:59:10 +0100
committerAndreas Kling <awesomekling@gmail.com>2018-12-24 23:01:09 +0100
commit503e32552c19d134efb0cd565dde05124e78beb3 (patch)
treeed9443f5db6eedcf58de389b21f7c4021b3a7cd2 /Kernel/system.h
parent6a9fa3e41ad0f1a8bfd44167b7471d70eb8b58dc (diff)
downloadserenity-503e32552c19d134efb0cd565dde05124e78beb3.zip
Move kernel symbolication code out of init.cpp and into its own KSym files.
Also use a simple array of { dword, const char* } for the KSyms and put the whole shebang in kmalloc_eternal() memory. This was a fugly source of kmalloc perma-frag.
Diffstat (limited to 'Kernel/system.h')
-rw-r--r--Kernel/system.h8
1 files changed, 0 insertions, 8 deletions
diff --git a/Kernel/system.h b/Kernel/system.h
index 262d1d6d59..689de3749c 100644
--- a/Kernel/system.h
+++ b/Kernel/system.h
@@ -4,14 +4,6 @@
#include <AK/Vector.h>
#include <AK/AKString.h>
-struct KSym {
- dword address;
- String name;
-};
-
-Vector<KSym, KmallocEternalAllocator>& ksyms() PURE;
-const KSym* ksymbolicate(dword address) PURE;
-
struct system_t
{
time_t uptime;