Menu

ARKM Kernel: A 64-Bit x86_64 UEFI-Only Kernel in C and Assembly (QEMU Q35 + OVMF)
πŸ“°

ARKM Kernel: A 64-Bit x86_64 UEFI-Only Kernel in C and Assembly (QEMU Q35 + OVMF)

DEV CommunityΒ·Aditya β€œAadi”·4 days ago
#N6LCwKU1
#dev#kernel#qemu#ring#arkm
Long article (410 words) β€” no AI summary yet.
Reading 0:00
15s threshold

We published the source code for ARKM Kernel ( x86_64 , GPLv3) along with a reproducible build script, an interactive QEMU Q35 + OVMF launcher, and a GitHub Actions CI smoke test.

GitHub Repository: https://github.com/silenceminds/ARKM-Kernel

Video Demo: https://www.youtube.com/watch?v=sQ-p2lf3CV0

What It Does

ARKM Kernel boots strictly through UEFI (patched GRUB 2.14 x86_64-efi + OVMF) via Multiboot2, transitions to 64-bit long mode, initializes SMP cores, and runs Ring 3 ELF binaries.

Repository Layout

arch/x86_64/ β€” boot.S (Multiboot2 header with efi64_start , 4-level paging, long mode, AP trampoline), gdt.s , idt.s (all IRQ/exception/syscall stubs with SMAP clac ), linker.ld , and cpu.c (LAPIC, IOAPIC, TSC, INIT / SIPI ).

include/arkm/ β€” Per-subsystem headers ( types.h , arch.h , mm.h , sched.h , security.h , drivers.h , fs.h , net.h , ui.h , syscall.h , hal.h , kernel.h ).

init/ & kernel/ β€” kernel_main , resource accounting, spinlocks/mutexes/futexes, int $0x80 syscall dispatcher, ELF loader,…

Continue reading β€” create a free account

Join HashtagPLUS to read full articles, follow hashtags, vote, and join the conversation.