How verryhdyt/vos works
VOS is a small experimental x86-64 kernel booted through Limine. Its main user-facing workflow is boot into a serial-console command shell, enter a command, and receive system information or an action. The sampled code shows boot initialization, serial I/O, command handling, memory and CPU reporting, and IDT setup and inspection. The README describes bootable ISO and disk-image use, but those are build outputs rather than runtime subsystems. The source excerpts are partial, so unsampled interrupt-stub behavior and other implementation details are not expanded.
Main entry points: main.c Kernel entry · idt.c IDT setup · interrupts.asm Interrupt stubs
Components 11
Boot and interrupts
- Kernel entry
kernel/src/main.c - IDT setup
kernel/src/idt.c - Interrupt stubs
kernel/src/interrupts.asm
Serial command shell
- Serial I/O
kernel/src/main.c - Interactive shell
kernel/src/main.c - Command dispatch
kernel/src/main.c
Kernel services
- Memory report
kernel/src/main.c - CPU report
kernel/src/main.c - IDT report
kernel/src/main.c - Memory primitives
kernel/src/memory.c
Other components
- Limine bootloader
Connections 11
- Limine bootloader → Kernel entry: boots kernel
README.md - Kernel entry → Serial I/O: initializes
kernel/src/main.c - Kernel entry → IDT setup: initializes
kernel/src/main.c - Kernel entry → Interactive shell: enters
kernel/src/main.c - Interactive shell → Serial I/O: reads and writes
kernel/src/main.c - Interactive shell → Command dispatch: dispatches commands
kernel/src/main.c - Command dispatch → Memory report: runs
kernel/src/main.c - Command dispatch → CPU report: runs
kernel/src/main.c - Command dispatch → IDT report: runs
kernel/src/main.c - IDT report → IDT setup: reads IDT state
kernel/src/main.c - IDT setup → Interrupt stubs: installs handlers
kernel/src/idt.c