How pbalduino/menios works
MeniOS is a hobby x86-64 operating system. Its principal workflow is booting into kernel initialization, launching the user-mode init process, and providing an interactive shell whose commands use OS services to produce results. The graph preserves documented process, filesystem, device, and userland capabilities; it also shows memory management as an internal kernel layer. Several subsystems are represented from README descriptions and tree paths because their implementation excerpts were not supplied, so those links are documented at the capability level rather than inferred from module names.
Main entry points: main.c Kernel startup · vfs.c Virtual filesystem · syscall.c Syscall interface · mosh.c Mosh shell
Components 21
Kernel and hardware
- Kernel startup
src/kernel/core/main.c - ACPI discovery
src/kernel/acpi - Interrupts and timers
src/kernel/arch/x86_64 - Hardware drivers
src/kernel/drivers - Console and framebuffer
src/kernel/console
Processes and memory
- Scheduler and threads
src/kernel/proc/kthread.c - Process management
src/kernel/proc/proc.c - Syscall interface
src/kernel/syscall/syscall.c - ELF and virtual memory
src/kernel/user/elf_loader.c - Kernel memory
src/kernel/mem/kmalloc.c
Filesystems and devices
- Virtual filesystem
src/kernel/fs/vfs/vfs.c - FAT32 filesystem
src/kernel/fs/fat32/fat32.c - Pseudo filesystems
src/kernel/fs - Block cache and devices
src/kernel/block/block_device.c
Userland and libc
- User-mode init
src/usermode/init.c - Mosh shell
app/mosh/mosh.c - Shell utilities
app - User libc
user/libc/stdlib.c
Other components
- Limine boot
- x86-64 hardware
- User
Connections 24
- Limine boot → Kernel startup: boots
README.md - Kernel startup → ACPI discovery: initializes
src/kernel/core/main.c - Kernel startup → Interrupts and timers: initializes
src/kernel/core/main.c - Kernel startup → Scheduler and threads: initializes
src/kernel/core/main.c - Kernel startup → Hardware drivers: initializes
src/kernel/core/main.c - Kernel startup → User-mode init: launches
src/kernel/core/main.c - x86-64 hardware → ACPI discovery: discovered by
README.md - x86-64 hardware → Hardware drivers: accessed by
- Kernel startup → Console and framebuffer: initializes
src/kernel/core/main.c - User-mode init → Mosh shell: starts
README.md - User → Mosh shell: interacts with
README.md - Mosh shell → Shell utilities: runs
README.md - Mosh shell → Syscall interface: uses
README.md - Shell utilities → User libc: uses
README.md - User libc → Syscall interface: invokes
README.md - Syscall interface → Process management: dispatches
README.md - Process management → Scheduler and threads: schedules
README.md - Process management → ELF and virtual memory: executes via
README.md - Kernel startup → Virtual filesystem: initializes
src/kernel/core/main.c - Virtual filesystem → FAT32 filesystem: supports
README.md - Virtual filesystem → Pseudo filesystems: provides
README.md - Virtual filesystem → Block cache and devices: uses
- Syscall interface → Virtual filesystem: serves file operations
README.md - ELF and virtual memory → Kernel memory: uses