Files
danos/src/kernel
Daniel SamsonandClaude Fable 5 75bc429aa1 M2 step 1-2: loader builds bootstrap tables + CR3 handoff
Add the higher-half layout constants (physToVirt/virtToPhys, physmap
and kernel bases) to the danos handoff module, and KernelSegment.phys
so the loader records where it actually placed each segment.

The loader now builds its own page tables before ExitBootServices —
identity + a physmap of low RAM (2 MiB pages) plus 4 KiB mappings for
any higher-half kernel segment — and switches CR3, then calls the entry
with boot_info in RDI, interrupts off. The kernel still links and runs
low (identity), oblivious; this proves the CR3 dance in isolation.
Suite 27/27.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
2026-07-08 22:28:43 +01:00
..
2026-07-05 10:19:11 +01:00
2026-07-05 10:19:11 +01:00
2026-07-08 12:35:30 +01:00
2026-07-08 12:35:30 +01:00