SchOS/kernel
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Nexoniarz 5ed8f1b0d5 kernel: load at 16 MB, clear of what firmware keeps low
From 1 MB the 34 MB kernel ran across 8 MB, where OVMF keeps ACPI NVS
memory that outlives the firmware -- so it was overwritten on every
boot, after ExitBootServices. Firmware leaves its leftovers low; above
16 MB is where a machine is most reliably empty.

KERNPHYS in memlayout.h, and kernel.ld agreeing with it. Nothing else
named the old address. Under OVMF the range is now only boot-services
memory: staged, copied home after the firmware exits, no warning. Boots
as a CD and as a USB disk, 1 and 4 CPUs.

The 15 MB below the kernel is not given to the page allocator yet.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01S1giNvrHTrPMPw7V6x1kQ4
2026-10-24 00:13:53 +02:00
..
acpi bug pass: whole console lines, a quiet SCI, an honest reserve warning 2026-10-23 16:03:33 +02:00
arch/x86_64 include: one folder per subsystem, and includes that name it 2026-10-23 15:05:12 +02:00
core display: a 64-bit framebuffer address, no mirroring onto itself 2026-10-23 15:46:42 +02:00
dev bug pass: whole console lines, a quiet SCI, an honest reserve warning 2026-10-23 16:03:33 +02:00
drivers display: a 64-bit framebuffer address, no mirroring onto itself 2026-10-23 15:46:42 +02:00
fs include: one folder per subsystem, and includes that name it 2026-10-23 15:05:12 +02:00
net include: one folder per subsystem, and includes that name it 2026-10-23 15:05:12 +02:00
proc include: one folder per subsystem, and includes that name it 2026-10-23 15:05:12 +02:00
sys include: one folder per subsystem, and includes that name it 2026-10-23 15:05:12 +02:00
kernel.ld kernel: load at 16 MB, clear of what firmware keeps low 2026-10-24 00:13:53 +02:00