This repository was archived by the owner on Jun 8, 2026. It is now read-only.
Repository navigation
keonOS - 0.3-alpha
Pre-release
Pre-release
keonOS 0.3 - Alpha Milestone 🚀
This is the third alpha milestone of keonOS, marking a major architectural transition.
Version 0.3 introduces a full migration to x86_64, enhanced thread lifecycle management, and significant improvements to kernel reliability and execution flow.
This release represents the foundation for true multitasking, future userland support, and modern system design.
🧠 Core Architecture Highlights
- x86_64 Migration:
keonOS has been successfully ported from 32-bit i386 to 64-bit x86_64, enabling access to a larger address space, modern CPU features, and future SMP scalability. - Expanded Kernel Stack:
Kernel thread stacks have been increased to 64 KB, drastically reducing stack overflow risks during deep kernel calls, interrupts, and filesystem operations. - Refined Boot & Memory Model:
Paging, memory layout, and kernel initialization logic have been adapted and hardened for long mode execution.
🎭 Multitasking, Threads & Lifecycle
- Thread Zombie Management:
Threads that terminate are now correctly transitioned into a zombie state, preserving execution metadata instead of being immediately destroyed. - Return Code Handling:
Each thread can now return an exit status, allowing the scheduler and future process manager to track execution results. - Improved Scheduler Robustness:
The threading system is now more resilient against invalid states, premature deallocation, and scheduler corruption.
🧵 Process & System Foundations
- Execution Flow Hardening:
Kernel control flow has been cleaned up to prevent undefined behavior during thread exit, context switching, and cleanup. - Future Userland Preparation:
These changes lay the groundwork for:- User-mode processes
- System calls
- Parent/child process relationships
📂 Storage & Subsystems (Carried Forward)
- Virtual File System (VFS):
Unified filesystem abstraction with mount support. - KeonFS Ramdisk:
RAM-based filesystem loaded via Multiboot module with standard C File I/O support (fopen,fread,fclose,fseek). - Kernel Heap:
Fully functionalkmalloc,kfree, and C++new/delete.
🔌 Hardware & Kernel Services
- Interrupt Management: Stable GDT/IDT configuration in long mode.
- Drivers: VGA text mode, keyboard input, PIT timing, PC speaker.
- Kernel Panic System: Register dump and stack inspection retained and adapted for 64-bit context.
🛠 How to Run
- Download the attached
keonOS-0.3-x86_64-alpha.iso. - Run it using QEMU:
qemu-system-x86_64 -cdrom keonOS-0.3-x86_64-alpha.iso -serial stdio -m 516 -boot d