Modern 64-bit Educational Kernel - Complete Technical Documentation
AOS is a powerful x86_64 monolithic kernel built from scratch for learning OS internals and AI integration. This comprehensive documentation covers every component, from bootloader to network stack, with detailed explanations and code walkthroughs suitable for both learning and production reference.
Whether you're a student exploring operating system concepts, a developer implementing kernel features, or someone interested in how modern systems work at the lowest level, you'll find everything you need here.
Hand-crafted GDT, IDT, and paging tables
UEFI and BIOS compatibility with Multiboot 2
4-level paging, bitmap PMM, dynamic heap
APIC routing, ATA/AHCI, keyboard, VGA
FAT32 with GPT/MBR partition support
Round-robin scheduler with context switching
Embedded lwIP TCP/IP with multiple NIC drivers
Tokenization and LLM inference support
Learn how the CPU boots and transitions to 64-bit mode, including segmentation, descriptor tables, and bootloader interaction.
Explore physical and virtual memory management, paging structures, and dynamic memory allocation for the kernel.
Understand how the system handles hardware interrupts, APIC controllers, timers, and direct I/O port access.
Deep dive into hardware drivers for storage, input, output, and bus enumeration with code examples.
Understand FAT32 filesystem implementation, partition management, and file operations.
Explore kernel initialization, task management, scheduling, and the command-line shell.
Discover the embedded lwIP TCP/IP stack and network interface drivers.
Choose your journey based on experience level:
Start with our comprehensive guides, study the implementation details, and build your understanding of modern OS architecture.
Begin Learning →