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!
This commit is contained in:
Andreas Kling 2019-11-28 21:30:20 +01:00
commit 4ef6be8212
Notes: sideshowbarker 2024-07-19 11:02:18 +09:00
5 changed files with 27 additions and 20 deletions

View file

@ -8,6 +8,7 @@ struct KSym {
const char* name;
};
u32 address_for_kernel_symbol(const char* name);
const KSym* ksymbolicate(u32 address);
void load_ksyms();