Documenting sysv

This commit is contained in:
2026-07-03 13:06:27 +01:00
parent 5ea521d054
commit 56219b4050
3 changed files with 94 additions and 1 deletions
+2 -1
View File
@@ -142,7 +142,8 @@ So both sides pin the convention explicitly to SysV via the shared
`danos.kernel_abi` (defined in `src/root.zig`). The loader's function-pointer type
and the kernel's `_start` both reference it, so the pointer lands in the register
the kernel expects. This is the whole reason `kernel_abi` lives in the shared
`danos` module: it's a contract both binaries must agree on.
`danos` module: it's a contract both binaries must agree on. See
[sysv.md](sysv.md) for what "SysV" means and where else it shows up.
## The handoff contract