How misazhu/ewokos works
EwokOS is a microkernel operating system whose principal runtime path is platform boot and kernel initialization, followed by launching user-space services; applications then use those services for files, devices, graphics, and networking. The graph preserves the documented filesystem, desktop, audio, and network capabilities as separate branches. Source excerpts show VFS request handling, ext3 block reads, and X rendering; other subsystem links rely on the README’s architecture description, so unsampled connections are omitted or marked unverified.
Main entry points: kernel.c Microkernel core · basic User-space init · handlers.c Virtual filesystem · xrender.c X display compositor
Components 20
Boot and kernel
- Machine platform
porting.qemu/kernel/bsp/start.c - Boot filesystem loader
kernel/loadinit/sd/loadinit.c - Microkernel core
kernel/kernel/src/kernel.c - Processes and scheduler
kernel/kernel/src/proc.c - Memory and shared memory
kernel/kernel/src/mm/shm.c - IPC and system calls
kernel/kernel/src/ipc.c
User services and storage
- User-space init
system/basic - System C library
system/basic/libc/libewoksys/ewoksys/src/sys.c - Virtual filesystem
system/basic/sys/vfsd/handlers.c - Ext3 filesystem reader
kernel/lib/ext3/src/ext3read.c - Session service
system/basic/sbin/sessiond/sessiond.c - Device services
porting.qemu/system/drivers/ttyd/ttyd.c
Desktop and media
- X display compositor
system/xwin/drivers/xserverd/xrender.c - Window management
system/xwin/xwm/misawm/MisaWM.cc - PNG image support
system/gui/libs/libpng/pngrtran.c - Audio player
system/xwin/apps/SndPlayer/AudioPlayer.cc
Networking
- Network tools
system/network/bin/ssh/main.c - WebSocket library
system/network/libs/libwebsockets/src/service.c
Other components
- System user or app
- Target hardware
Connections 21
- Target hardware → Machine platform: boots on
- Machine platform → Microkernel core: initializes
- Microkernel core → Boot filesystem loader: loads filesystem
- Boot filesystem loader → User-space init: launches
- Microkernel core → Processes and scheduler: manages processes
README.md - Microkernel core → Memory and shared memory: manages memory
README.md - Microkernel core → IPC and system calls: provides IPC
README.md - User-space init → Virtual filesystem: starts services
README.md - User-space init → Session service: starts services
README.md - User-space init → Device services: starts services
- System user or app → System C library: uses
- System C library → IPC and system calls: issues requests
- Virtual filesystem → Ext3 filesystem reader: uses filesystem
README.md - System user or app → Virtual filesystem: requests files
- Session service → X display compositor: starts desktop
- Window management → X display compositor: manages windows
- X display compositor → PNG image support: uses image support
- System user or app → Audio player: plays media
- Audio player → Device services: outputs audio
- System user or app → Network tools: invokes tools
- System user or app → WebSocket library: uses networking