summaryrefslogtreecommitdiff
path: root/Kernel/KSyms.h
blob: 1b1d76732f9b700864933b8c150b5be86c05c07b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#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();