From d910e6261a75dafc6f8ee2a632f154b9b5096b47 Mon Sep 17 00:00:00 2001 From: Daniel Samson Date: Fri, 3 Jul 2026 13:06:27 +0100 Subject: [PATCH] Documenting sysv --- docs/arch.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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.