Skip to content
This repository was archived by the owner on Jun 8, 2026. It is now read-only.

keonOS - 0.5-alpha

Pre-release
Pre-release

Choose a tag to compare

@fmdxp fmdxp released this 02 Feb 13:44
· 2 commits to main since this release
Immutable release. Only release title and notes can be modified.

keonOS 0.5 – Alpha Milestone 🚀

This is the fifth alpha milestone of keonOS, representing an architectural leap:
the transition from a kernel-only execution model to an isolated userland.

Version 0.5 introduces Ring 3 (user mode) execution, a minimal userspace ABI, and
the first userspace shell. With this release, keonOS stops being “just a kernel”
and becomes a multi-ring operating system.


🧠 Core System Improvements

  • Ring 3 (User Mode) Support:
    Full support for executing code in user mode with proper privilege separation.
  • Privilege Level Separation:
    Clear distinction between kernel (Ring 0) and user (Ring 3) execution contexts,
    enforcing hardware-level isolation.
  • Userspace ABI:
    Defined interface between kernel and user programs, forming the foundation for
    system calls and future userspace applications.
  • Context Switching Enhancements:
    Extended task switching logic to safely transition between kernel and user mode.

🧑‍💻 Userspace & Shell

  • Userspace Shell:
    The shell now runs entirely in Ring 3, marking the first real userspace program
    in keonOS.
  • Kernel ↔ Userspace Boundary:
    Shell interactions are routed through the kernel, validating the new execution model.
  • Command Execution Framework:
    Initial infrastructure for executing and managing userspace programs.

🧵 Multitasking & Process Model

  • User Threads / Tasks:
    Support for scheduling user-mode tasks alongside kernel threads.
  • Safe Return to Kernel:
    Controlled transitions from Ring 3 back to Ring 0 for system services.
  • Improved Fault Isolation:
    User-mode faults no longer directly compromise kernel stability.

🖥 Architecture & Low-Level

  • x86_64 Long Mode:
    Continued native 64-bit support with segmentation and privilege levels correctly configured.
  • GDT / TSS Enhancements:
    Updated descriptor tables to support multi-ring execution.
  • Stack Separation:
    Dedicated kernel stacks for user-mode transitions.

🔌 Hardware & Drivers (Carried Forward)

  • ATA (PIO) Disk Access
  • FAT32 Filesystem with Persistent Storage
  • Keyboard & VGA Text Mode
  • PIT Timing & PC Speaker

🛠 How to Run

  1. Download the attached keonOS-0.5-x86_64-alpha.iso. *Note: the iso is actually called keonOS on this release. I'm sorry for the unconvinience!
  2. Run it using QEMU:
    qemu-system-x86_64 -cdrom keonOS-0.5-x86_64-alpha.iso -serial stdio -m 512 -boot d