SchOS/include/arch
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
..
asm.h include: one folder per subsystem, and includes that name it 2026-10-23 15:05:12 +02:00
ioperm.h include: one folder per subsystem, and includes that name it 2026-10-23 15:05:12 +02:00
memlayout.h kernel: load at 16 MB, clear of what firmware keeps low 2026-10-24 00:13:53 +02:00
mmu.h include: one folder per subsystem, and includes that name it 2026-10-23 15:05:12 +02:00
mp.h include: one folder per subsystem, and includes that name it 2026-10-23 15:05:12 +02:00
schboot.h kernel: load at 16 MB, clear of what firmware keeps low 2026-10-24 00:13:53 +02:00
traps.h include: one folder per subsystem, and includes that name it 2026-10-23 15:05:12 +02:00
vmap.h include: one folder per subsystem, and includes that name it 2026-10-23 15:05:12 +02:00
x86.h include: one folder per subsystem, and includes that name it 2026-10-23 15:05:12 +02:00