How staycool1374-ger/nexios works
NexIOS is a freestanding real-time operating system whose central workflow is launching user programs under kernel control: a user enters commands through the shell, the kernel loads ELF tasks, maps their address spaces, grants capabilities, and schedules them. System calls connect tasks to kernel services such as IPC, filesystems, and synchronization; architecture-specific code handles hardware interrupts and faults. The README also describes process isolation and fault termination, while filesystem, driver, and network components are visible in the tree. Some subsystem links are documented capabilities rather than verified calls in the sampled source.
Main entry points: syscall.cpp System calls · elf_loader.cpp ELF loader · vfs.cpp Virtual filesystem · driver.cpp Device drivers
Components 19
User interface
- Shell
src/services/shell.cpp - Terminal
src/services/terminal/terminal.cpp - User programs
userspace/user-app.c
Process execution
- ELF loader
src/kernel/elf/elf_loader.cpp - Task management
src/kernel/task/task.cpp - Real-time scheduler
src/kernel/task/scheduler.cpp - Fault handling
src/kernel/arch
Kernel services
- System calls
src/kernel/syscall/syscall.cpp - IPC
src/kernel/ipc/ipc.cpp - Virtual filesystem
src/kernel/vfs/vfs.cpp - Synchronization
src/kernel/sync/sync.cpp
Memory and security
- Capabilities
src/kernel/cap/cap.cpp - Virtual memory
src/kernel/memory/vmm.cpp - Physical memory
src/kernel/memory/pmm.cpp
Platform I/O
- Initrd
src/initrd/initrd.cpp - Device drivers
src/kernel/driver/driver.cpp - Network stack
src/kernel/net/net.cpp - Architecture HAL
src/kernel/arch/hal/interrupt_controller.hpp
Other components
- User
Connections 19
- User → Terminal: enters commands
- Terminal → Shell: forwards input
- Shell → ELF loader: loads ELF
- ELF loader → Task management: creates task
- Task management → Real-time scheduler: schedules task
- User programs → System calls: requests services
- System calls → Virtual filesystem: dispatches filesystem calls
- System calls → IPC: dispatches IPC calls
- System calls → Capabilities: checks capabilities
- System calls → Synchronization: dispatches sync calls
- ELF loader → Virtual memory: maps address space
- Virtual memory → Physical memory: allocates frames
- ELF loader → Capabilities: sets capability domain
- Fault handling → Task management: terminates faulting task
- Fault handling → Architecture HAL: handles architecture traps
- Virtual filesystem → Initrd: reads initrd files
- Virtual filesystem → Device drivers: serves device files
- Device drivers → Architecture HAL: uses hardware interface
- Device drivers → Network stack: supports network devices