Nexoniarz
08a1a9033a
boot: separate BIOS from UEFI
...
boot/bios/ now holds the MBR, the El Torito stub and the real-mode stage
2; boot/uefi/ is empty and documented.
Separate directories rather than #ifdefs, because the two share almost
nothing. A BIOS loader lives in 16-bit real mode, reaches the firmware
through software interrupts, and walks itself up into long mode. A UEFI
loader is a 64-bit PE that the firmware has already placed in long mode
with paging on, calling services through a table of function pointers.
What they do share is the hand-off contract, which boot/README.md now
writes down: ELF segments placed, long mode, a 24-byte-entry memory map
at E820_MAP_ADDR, framebuffer geometry at VBE_INFO_ADDR.
That contract is the point of documenting it now. UEFI's GetMemoryMap
returns EFI_MEMORY_DESCRIPTORs, and the right move is to translate them
into the entries kernel/arch/x86_64/e820.c already parses rather than
teach the kernel a second format.
Build output paths under $(BUILD)/boot are unchanged; only sources moved.
2026-08-09 16:00:03 +02:00
..
MEMORY.md
memory: performance, init signal safety, and trusting the harness
2026-08-09 15:55:11 +02:00
nexoniarz-sharing-preference.md
Carry project memory in the repo, with tools/memory-sync.sh
2026-08-09 14:27:22 +02:00
schfs-btree-phase1.md
Carry project memory in the repo, with tools/memory-sync.sh
2026-08-09 14:27:22 +02:00
schfs-phase2-mount.md
Carry project memory in the repo, with tools/memory-sync.sh
2026-08-09 14:27:22 +02:00
schfs-phase3-writes.md
Carry project memory in the repo, with tools/memory-sync.sh
2026-08-09 14:27:22 +02:00
schfs-v2-and-ramdisk.md
Carry project memory in the repo, with tools/memory-sync.sh
2026-08-09 14:27:22 +02:00
schos-bootcheck-trust.md
memory: performance, init signal safety, and trusting the harness
2026-08-09 15:55:11 +02:00
schos-cross-platform-build.md
Rewrite run.ps1; it was five kinds of stale
2026-08-09 14:49:47 +02:00
schos-memory-sync.md
Carry project memory in the repo, with tools/memory-sync.sh
2026-08-09 14:27:22 +02:00
schos-performance-and-init.md
memory: performance, init signal safety, and trusting the harness
2026-08-09 15:55:11 +02:00
schos-rename-and-git.md
Carry project memory in the repo, with tools/memory-sync.sh
2026-08-09 14:27:22 +02:00
schunix-boot-splash-logo.md
boot: separate BIOS from UEFI
2026-08-09 16:00:03 +02:00
schunix-build-environment.md
Carry project memory in the repo, with tools/memory-sync.sh
2026-08-09 14:27:22 +02:00
schunix-build-speed.md
Carry project memory in the repo, with tools/memory-sync.sh
2026-08-09 14:27:22 +02:00
schunix-console-tty.md
Carry project memory in the repo, with tools/memory-sync.sh
2026-08-09 14:27:22 +02:00
schunix-crash-screen.md
Carry project memory in the repo, with tools/memory-sync.sh
2026-08-09 14:27:22 +02:00
schunix-devfs-procfs.md
Carry project memory in the repo, with tools/memory-sync.sh
2026-08-09 14:27:22 +02:00
schunix-device-model.md
Carry project memory in the repo, with tools/memory-sync.sh
2026-08-09 14:27:22 +02:00
schunix-dirsiz-14.md
Carry project memory in the repo, with tools/memory-sync.sh
2026-08-09 14:27:22 +02:00
schunix-doom-acceptance-test.md
Carry project memory in the repo, with tools/memory-sync.sh
2026-08-09 14:27:22 +02:00
schunix-driver-infrastructure.md
Carry project memory in the repo, with tools/memory-sync.sh
2026-08-09 14:27:22 +02:00
schunix-e1000-and-driver-layout.md
Carry project memory in the repo, with tools/memory-sync.sh
2026-08-09 14:27:22 +02:00
schunix-framebuffer-device.md
Carry project memory in the repo, with tools/memory-sync.sh
2026-08-09 14:27:22 +02:00
schunix-iso-boot.md
boot: separate BIOS from UEFI
2026-08-09 16:00:03 +02:00
schunix-layout-migration.md
Carry project memory in the repo, with tools/memory-sync.sh
2026-08-09 14:27:22 +02:00
schunix-licensing.md
Carry project memory in the repo, with tools/memory-sync.sh
2026-08-09 14:27:22 +02:00
schunix-linux-abi-decision.md
Carry project memory in the repo, with tools/memory-sync.sh
2026-08-09 14:27:22 +02:00
schunix-linux-open-flags.md
Carry project memory in the repo, with tools/memory-sync.sh
2026-08-09 14:27:22 +02:00
schunix-network-stack-choice.md
Carry project memory in the repo, with tools/memory-sync.sh
2026-08-09 14:27:22 +02:00
schunix-pci-drivers.md
Carry project memory in the repo, with tools/memory-sync.sh
2026-08-09 14:27:22 +02:00
schunix-qr-encoder.md
Carry project memory in the repo, with tools/memory-sync.sh
2026-08-09 14:27:22 +02:00
schunix-ramdisk-root-sizing.md
Carry project memory in the repo, with tools/memory-sync.sh
2026-08-09 14:27:22 +02:00
schunix-rewrite-priorities.md
Carry project memory in the repo, with tools/memory-sync.sh
2026-08-09 14:27:22 +02:00
schunix-roadmap-and-projects.md
Carry project memory in the repo, with tools/memory-sync.sh
2026-08-09 14:27:22 +02:00
schunix-schapi-direction.md
Carry project memory in the repo, with tools/memory-sync.sh
2026-08-09 14:27:22 +02:00
schunix-shm-and-mmap.md
Carry project memory in the repo, with tools/memory-sync.sh
2026-08-09 14:27:22 +02:00
schunix-smp-and-memory-bugs.md
Carry project memory in the repo, with tools/memory-sync.sh
2026-08-09 14:27:22 +02:00
schunix-sockets-and-evdev.md
Carry project memory in the repo, with tools/memory-sync.sh
2026-08-09 14:27:22 +02:00
schunix-syscall-single-table.md
Carry project memory in the repo, with tools/memory-sync.sh
2026-08-09 14:27:22 +02:00
schunix-text-rendering.md
Carry project memory in the repo, with tools/memory-sync.sh
2026-08-09 14:27:22 +02:00
schunix-ttf-rasteriser.md
Carry project memory in the repo, with tools/memory-sync.sh
2026-08-09 14:27:22 +02:00
schunix-tty-fg-pgrp-coupling.md
Carry project memory in the repo, with tools/memory-sync.sh
2026-08-09 14:27:22 +02:00
schunix-usb-ids.md
Carry project memory in the repo, with tools/memory-sync.sh
2026-08-09 14:27:22 +02:00
schunix-usb-xhci.md
Carry project memory in the repo, with tools/memory-sync.sh
2026-08-09 14:27:22 +02:00
schunix-verify-by-driving-shell.md
Carry project memory in the repo, with tools/memory-sync.sh
2026-08-09 14:27:22 +02:00
schunix-virtio-gpu.md
Carry project memory in the repo, with tools/memory-sync.sh
2026-08-09 14:27:22 +02:00
schunix-wall-clock.md
Carry project memory in the repo, with tools/memory-sync.sh
2026-08-09 14:27:22 +02:00