ARKM Kernel: Open-Sourced Prototype Codebase Showcase
We’ve just open-sourced a prototype codebase showcase of ARKM Kernel, a custom 64-bit (x86_64) UEFI-only kernel written in C and x86-64 Assembly, released under the GPLv3 license.
GitHub Repository:
https://github.com/silenceminds/ARKM-KernelNote: This repository is a prototype codebase showcase demonstrating the bootable kernel and Ring 3 runtime. The main ARKM Kernel is currently undergoing driver expansion, AI model integration, and extensive testing.
Architecture Highlights
UEFI-Only Boot
- Custom UEFI-only boot flow.
- ARKM-patched GRUB 2.14 (
x86_64-efi) loader. - OVMF-based virtualization support.
- 4-level paging implementation.
- Interrupt stub isolation using
CR4.SMAPandclac.
SMP & Scheduling
- ACPI-based processor core discovery.
- AP startup via
INITandSIPI. - Hybrid scheduling architecture (
AMP_MODE_HYBRID).
Aegis Security & Ring 3 Runtime
- Physical Memory Manager (PMM).
- Virtual Memory Manager (VMM).
- Heap canary integrity checks.
- SMAP, SMEP, and NX protections.
- Secure
int $0x80syscall pointer validation.
Drivers & Filesystems
- AHCI / SATA storage support.
- PCIe NVMe support.
- FAT32 filesystem support.
- LunaFS filesystem implementation.
- PCIe ECAM enumeration.
- USB xHCI HID support:
- USB Keyboard
- USB Mouse
- Intel e1000 networking:
- IPv4
- IPv6 SLAAC
- TCP
- HTTP
Ring 3 Applications
-
APP.ELF
- VYOM 9-module test suite
-
DAEMON.ELF
- IPC supervisor
-
WEB.ELF
- HTTP server running on port 80
Try It Locally with QEMU
Build and launch:
bash
UPDATE_RUNTIME_DISK=1 ./build.sh
./run-arkm-uefi-only-qemu.sh
Top comments (0)