Specification
These pages are generated from the kernel source by the autodoc tool (tools/autodoc). They reflect the documented public surface of the kernel and the Zig personality layer.
Regenerating
Run bun run gen:specs (or cargo run --manifest-path tools/autodoc/Cargo.toml) after changing source doc comments.
Syscall API
The personality-aware syscall dispatcher and the kernel-ops callback table exposed to the Zig personality layer.
82 documented items across 9 files.
ELF & ABI
ELF parsing and the OS/ABI detection that selects a process personality during exec().
7 documented items across 1 files.
Personality Components
The Zig personality layer: identifiers, binary-format detection, dispatch, and per-OS syscall translation.
323 documented items across 6 files.
Filesystem & Schemes
The scheme abstraction (the kernel's VFS) and the btrfs filesystem integration.
78 documented items across 30 files.
Memory Management
Physical/virtual memory management, allocators, and grants.
91 documented items across 8 files.
Process & Context
Contexts (threads/processes), scheduling state, and per-context resources.
42 documented items across 6 files.
Kernel Internals
Other documented kernel modules.
109 documented items across 20 files.