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

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
parent ea4e02ed86
commit 19398cd7d5
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)
{