diff options
author | Andreas Kling <awesomekling@gmail.com> | 2019-11-04 12:00:29 +0100 |
---|---|---|
committer | Andreas Kling <awesomekling@gmail.com> | 2019-11-04 12:04:35 +0100 |
commit | 19398cd7d586bc3500ce63486ac10bde5c4489a9 (patch) | |
tree | feb6a5ac4e443d7f7543b6ffcd9e4b4c2a1a7420 /Kernel/linker.ld | |
parent | ea4e02ed86a5db8b9f57fd2fcdeb78a3142f3ccc (diff) | |
download | serenity-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.ld | 2 |
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) { |