mirror of
https://github.com/RGBCube/serenity
synced 2025-05-14 08:54:58 +00:00

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.
16 lines
282 B
C
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;
|