1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-26 01:17:34 +00:00

Userland: Hardcode the x86_64 kernel base address for now

This commit is contained in:
Gunnar Beutner 2021-07-20 13:40:35 +02:00 committed by Andreas Kling
parent 4fdee56ba3
commit 60b52cfb02
6 changed files with 43 additions and 6 deletions

View file

@ -82,7 +82,12 @@ Vector<Symbol> symbolicate_thread(pid_t pid, pid_t tid)
Vector<RegionWithSymbols> regions;
regions.append(RegionWithSymbols {
// FIXME: Use /proc for this
#if ARCH(I386)
.base = 0xc0000000,
#else
.base = 0x2000000000,
#endif
.size = 0x3fffffff,
.path = "/boot/Kernel.debug",
.is_relative = false });