A Modern 64-Bit Hobby Operating System Built from Scratch
Welcome to the LikeOS home page.
LikeOS is a modern 64-bit operating system built entirely from scratch, demonstrating
contemporary OS development with a complete Unix-like userland.
LikeOS was written by Nikolaos Rangos.
Current development release:
LikeOS 0.2.3-HEAD
Version 0.2.3 has these key features:
- 64-bit long mode kernel with higher-half mapping.
- UEFI boot path with framebuffer and memory map handoff.
- Interrupt and exception handling with IDT and PIC/APIC integration.
- SMP support for up to 64 CPUs with AP startup using INIT-SIPI-SIPI.
- Per-CPU data structures, run queues, and scheduler accounting.
- LAPIC timer setup, IOAPIC routing, TLB shootdown, and SMP-aware locking.
- Preemptive multitasking scheduler with fork, execve, exit, wait4, signals, and pipes.
- User mode execution in ring 3 with ELF64 binary loading.
- FAT32 filesystem with VFS and devfs layers.
- Dentry cache, inode cache, and page cache with read-ahead and CLOCK-style eviction.
- xHCI USB 3.0 stack and USB mass storage driver.
- PS/2, PCI, and APIC hardware drivers.
- TCP/IP networking stack with BSD-style sockets and multiple NIC drivers.
- Physical and virtual memory management with SLAB allocator, stack canaries, and security protections.
- Virtual terminals (VTs) with POSIX-like TTY and signal handling.
- Userland libc with dynamic runtime linker support.
- Framebuffer console optimizations.
- Core utilities: sh, ls, cat, cp, mv, rm, grep, find, nano, top, ps, and many more.
- Ported applications: nano, tmux, netcat, openssl, curl.
- Real hardware support on Lenovo and Dell notebooks, VMware, VirtualBox, and QEMU.
Canonical URL: https://likeos.systemtrap.com
LikeOS is a Unix-like operating system designed to demonstrate modern OS development
from the ground up. It features a complete userland with process management, syscalls,
preemptive multitasking, symmetric multi-processing (SMP), and an interactive shell.
The system boots via UEFI, runs on (some) real hardware as well as virtual machines (QEMU,
VMware, VirtualBox), and includes a rich set of core utilities and a C library with
dynamic linking support.
The author, Nikolaos Rangos, can be reached at
niko@systemtrap.com.
The git repository is available at:
https://github.com/kctherootkey/LikeOS-64
LikeOS is released under the GNU General Public License version 2.
See the COPYING file in the repository for the full license text.
The current development version is available on GitHub:
https://github.com/kctherootkey/LikeOS-64