We’ve published a prototype codebase showcase of **ARKM Kernel** — a from-scratch 64-bit `x86_64` UEFI-only kernel built in C and x86-64 assembly — along with a live QEMU video demo and a reproducible build/smoke-test setup.
*(Note: This repo is a prototype codebase showcase demonstrating the bootable kernel and Ring 3 runtime; the main ARKM Kernel is actively in its driver expansion, AI model implementation, and testing phase.)*
**What’s in the repo:**
- **UEFI-Only Multiboot2 Boot (`boot.S`, `idt.s`, `linker.ld`)**: Boots via an ARKM-patched GRUB 2.14 `x86_64-efi` loader + OVMF into 64-bit long mode, with isolated IRQ/exception stub ownership in `idt.s` (`CR4.SMAP` `clac` handling).
- **SMP & Scheduling**: ACPI CPU discovery + `INIT`/`SIPI` bring-up (tested up to 12 vCPUs locally, 4 vCPUs in GitHub Actions TCG CI) with `AMP_MODE_HYBRID`.
- **Memory & Security (`Aegis`)**: PMM/VMM, heap canary checks, SMAP/SMEP/NX hardening, and Ring 3 syscall pointer validation.
- **Storage & Hardware**: AHCI/SATA, PCIe NVMe, FAT32 VFS, `LunaFS` (`LUNA.VOL`), PCIe ECAM, USB xHCI HID (`usb-kbd`/`usb-mouse` + `i8042` fallback).
- **Networking & Graphics**: Intel `e1000` (IPv4, IPv6 SLAAC/DAD, TCP, HTTP) and a `1280x720` GOP split-screen console + live dashboard.
- **Ring 3 Userland**: `APP.ELF` (9-module interactive VYOM security/subsystem test suite), `DAEMON.ELF` (IPC supervisor), and `WEB.ELF` (HTTP server on port 80, forwarded to `localhost:8080` in QEMU).
**Links:**
- **GitHub Repo:** https://github.com/silenceminds/ARKM-Kernel
- **Live QEMU Demo (YouTube):** https://www.youtube.com/watch?v=sQ-p2lf3CV0
**Run it locally in QEMU:**
```bash
UPDATE_RUNTIME_DISK=1 ./build.sh
./run-arkm-uefi-only-qemu.sh
```
Feedback on the boot flow, xHCI/NVMe setup, or Ring 3 isolation is very welcome!