From raw C drivers to bare-metal C++20 microkernels.
Kernelite builds foundational systems software and developer tooling designed for bare-metal clarity, strict memory safety, and deterministic hardware control. Whether you are booting a custom AArch64 kernel or translating legacy Linux drivers into structured specifications, our tools keep low-level systems work fast, verifiable, and clean.
🚧 Active Development: Kernelite, Milo, and Prism are actively under development—APIs, schemas, and workflows may evolve rapidly as new features and subsystems land.
🛡️ Milo
A freestanding C++20 microkernel and Linux AArch64 ABI compatibility layer built for bare-metal execution.
-
What it does: Brings up AArch64 hardware (
EL3 → EL2 → EL1), sets up 4-level MMU page tables with Copy-on-Write (CoW) and demand-zero paging, runs a preemptive scheduler and POSIX-style signal/syscall layer, and includes a VFS (ext2,tmpfs,devfs,cpio),VirtIOblock transport, and an interactivemilo>shell. -
Why it stands out: Enforces strict C++20 RAII ownership, zero exceptions, and zero RTTI in a freestanding environment—backed by host-native unit tests (
ASan/UBSan/coverage) alongside QEMUvirtruntime suites.
💎 Prism
An AI-assisted static analysis and specification pipeline that turns Linux C driver source code into structured hardware and C++ porting artifacts.
-
What it does: Parses
.cand.hdriver sources withtree-sitter-c(ASTPreProcessor), extracts register offsets, bitmasks, probe/interrupt flows, and concurrency primitives, and produces schema-validated JSON/YAML specs (driver_spec.json) alongside Markdown documentation (DRIVER_SPEC.md) with Mermaid sequence diagrams and C++20 driver skeletons. -
Why it stands out: Grounds model outputs against AST constants, isolates dynamic register offset expressions, and supports local quantized models (
transformers/outlines) as well as API backends (openai/instructor).
Prism and Milo are built to complement each other across the systems engineering workflow:
-
Inspect & Model (
Prism): Extract register maps, initialization sequences, interrupt lifecycles, and porting notes from existing C driver code. -
Build & Verify (
Milo): Implement, boot, and test bare-metal C++20 drivers and kernel subsystems against real hardware/QEMU targets and automated test suites.
-
Explore the code: Jump into
kernelite/miloto build and boot the AArch64 kernel in QEMU, orkernelite/prismto runkprism analyzeon driver sources. -
Share feedback & contribute: Since everything is actively evolving, bug reports, edge cases, and pull requests are especially helpful—open an issue or PR in the relevant repository.
Unless noted otherwise in an individual repository's LICENSE file, projects in the Kernelite organization are open source under the GNU General Public License v3.0 (GPL-3.0).