summaryrefslogtreecommitdiff
path: root/Kernel/KSyms.h
diff options
context:
space:
mode:
authorAndreas Kling <kling@serenityos.org>2021-02-25 16:18:36 +0100
committerAndreas Kling <kling@serenityos.org>2021-02-25 16:27:12 +0100
commit8f70528f301bea948ab8f7a3a0835284dc735dd1 (patch)
treecde16b066e01c876ce373524e8673346a6c8cb0d /Kernel/KSyms.h
parenteb08a0edd5159ee36782496f10736521147b575a (diff)
downloadserenity-8f70528f301bea948ab8f7a3a0835284dc735dd1.zip
Kernel: Take some baby steps towards x86_64
Make more of the kernel compile in 64-bit mode, and make some things pointer-size-agnostic (by using FlatPtr.) There's a lot of work to do here before the kernel will even compile.
Diffstat (limited to 'Kernel/KSyms.h')
-rw-r--r--Kernel/KSyms.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/Kernel/KSyms.h b/Kernel/KSyms.h
index 102ae06c18..a872ddf8bd 100644
--- a/Kernel/KSyms.h
+++ b/Kernel/KSyms.h
@@ -31,12 +31,12 @@
namespace Kernel {
struct KernelSymbol {
- u32 address;
+ FlatPtr address;
const char* name;
};
-u32 address_for_kernel_symbol(const StringView& name);
-const KernelSymbol* symbolicate_kernel_address(u32 address);
+FlatPtr address_for_kernel_symbol(const StringView& name);
+const KernelSymbol* symbolicate_kernel_address(FlatPtr);
void load_kernel_symbol_table();
extern bool g_kernel_symbols_available;