Documenting sysv

This commit is contained in:
2026-07-03 13:06:43 +01:00
parent 56219b4050
commit d910e6261a
+2 -2
View File
@@ -81,8 +81,8 @@ There are really two independent questions, and it's worth not conflating them:
The kernel entry point `_start` currently still lives in the generic `main.zig` as
a thin trampoline into `kmain`. It's arch-adjacent (its calling convention is
x86_64 SysV, via the shared `danos.kernel_abi`), but it's three lines and mostly
generic, so it stays put for now. When AArch64 arrives — where entry means setting
x86_64 [SysV](sysv.md), via the shared `danos.kernel_abi`), but it's three lines
and mostly generic, so it stays put for now. When AArch64 arrives — where entry means setting
up a stack and reading a device-tree pointer from a register — the entry work will
be substantial and per-arch, and *that* is when we extract an entry interface into
the arch modules.