summaryrefslogtreecommitdiff
path: root/Kernel/linker.ld
diff options
context:
space:
mode:
authorAndreas Kling <awesomekling@gmail.com>2019-11-04 12:00:29 +0100
committerAndreas Kling <awesomekling@gmail.com>2019-11-04 12:04:35 +0100
commit19398cd7d586bc3500ce63486ac10bde5c4489a9 (patch)
treefeb6a5ac4e443d7f7543b6ffcd9e4b4c2a1a7420 /Kernel/linker.ld
parentea4e02ed86a5db8b9f57fd2fcdeb78a3142f3ccc (diff)
downloadserenity-19398cd7d586bc3500ce63486ac10bde5c4489a9.zip
Kernel: Reorganize memory layout a bit
Move the kernel image to the 1 MB physical mark. This prevents it from colliding with stuff like the VGA memory. This was causing us to end up with the BIOS screen contents sneaking into kernel memory sometimes. This patch also bumps the kmalloc heap size from 1 MB to 3 MB. It's not the perfect permanent solution (obviously) but it should get the OOM monkey off our backs for a while.
Diffstat (limited to 'Kernel/linker.ld')
-rw-r--r--Kernel/linker.ld2
1 files changed, 1 insertions, 1 deletions
diff --git a/Kernel/linker.ld b/Kernel/linker.ld
index 986ede14ed..169fe43c3a 100644
--- a/Kernel/linker.ld
+++ b/Kernel/linker.ld
@@ -2,7 +2,7 @@ ENTRY(start)
SECTIONS
{
- . = 0x10000;
+ . = 0x100000;
.text BLOCK(4K) : ALIGN(4K)
{