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.
This commit is contained in:
Andreas Kling 2019-11-04 12:00:29 +01:00
commit 19398cd7d5
Notes: sideshowbarker 2024-07-19 11:25:59 +09:00
4 changed files with 26 additions and 21 deletions

View file

@ -2,7 +2,7 @@ ENTRY(start)
SECTIONS
{
. = 0x10000;
. = 0x100000;
.text BLOCK(4K) : ALIGN(4K)
{