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:
parent
4fdee56ba3
commit
60b52cfb02
6 changed files with 43 additions and 6 deletions
|
@ -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 });
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue