diff --git a/docs/arch.md b/docs/arch.md index 8e0d8d9..27840be 100644 --- a/docs/arch.md +++ b/docs/arch.md @@ -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.