ladybird/Kernel/KSyms.h
Andreas Kling 022f7790db Use modern C++ attributes instead of __attribute__ voodoo.
This is quite nice, although I wish [[gnu::always_inline]] implied inline.
Also "gnu::" is kind of a wart, but whatcha gonna do.
2019-02-15 12:30:48 +01:00

17 lines
296 B
C

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