1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-14 08:54:58 +00:00
serenity/Kernel/KSyms.h
Andreas Kling 503e32552c 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.
2018-12-24 23:01:09 +01:00

16 lines
282 B
C

#pragma once
#include <AK/AKString.h>
#include <AK/Vector.h>
struct KSym {
dword address;
const char* name;
};
const KSym* ksymbolicate(dword address) PURE;
void load_ksyms();
extern bool ksyms_ready;
extern dword ksym_lowest_address;
extern dword ksym_highest_address;