ladybird/Kernel/KSyms.h
Andreas Kling 4ef6be8212 Kernel: Allow modules to link against anything in kernel.map :^)
We now use the symbols from kernel.map to link modules as they are
loaded into the kernel. This is pretty fricken cool!
2019-11-28 21:30:20 +01:00

20 lines
340 B
C

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