How yo-yo-ooo/skylinesystem works
SkylineSystem is a hobby x86_64 SMP operating system with a separate userspace, kernel services, storage and device support, and a graphical desktop. The principal user path is boot into the kernel, start the desktop, interact with a window or app, and have the kernel provide scheduling, memory, input and display services. The graph also preserves documented networking and SAF archive capabilities. Some subsystem links reflect README descriptions; unsampled implementation details and call relationships are intentionally not asserted.
Main entry points: src/main.cpp Kernel startup · desktop/main.cpp Desktop and window manager · fc.cpp Filesystem services · notepad/main.cpp Notepad app
Components 28
Kernel and Memory
- Kernel startup
kernel/src/main.cpp - EEVDF scheduler
kernel/src/arch/x86_64/schedule/sched.cpp - RIP feedback
kernel/src/arch/x86_64/schedule/sched_rip.cpp - Virtual memory
kernel/src/arch/x86_64/vmm/vmm.cpp - Physical memory
kernel/src/mem/pmm.cpp - Kernel heap
kernel/src/mem/slub.cpp - System calls
kernel/src/arch/x86_64/schedule/syscall.cpp
Devices and Storage
- Device drivers
kernel/src/drivers - Input devices
kernel/src/drivers/input/kbd.cpp - Filesystem services
kernel/src/fs/fc.cpp - ext4 filesystem
kernel/src/fs/lwext4/src/ext4.cpp - SAF support
kernel/src/fs/saf/saf.cpp - TCP/IP stack
kernel/src/net
Desktop and Apps
- Desktop and window manager
programs/desktop/main.cpp - Software compositor
programs/desktop/include/synthesizer/window.h - Font rendering
lib/base/font/ttf.c - Notepad app
programs/notepad/main.cpp
Runtime Libraries
- Userspace library
lib - SAF archive format
res/saf/saf.h - SAF archive maker
res/saf/saf-make.c - SAF archive extractor
res/saf/saf-extract.c - AVX memory operations
ablib/arch/x86_64/x86mem/memmove.c - AVX intrinsics
ablib/arch/x86_64/x86mem/avx2intrin.h - AVX-512 intrinsics
ablib/arch/x86_64/x86mem/avx512fintrin.h - AVX intrinsics base
ablib/arch/x86_64/x86mem/avxintrin.h
Other components
- Limine bootloader
- Machine hardware
- Desktop user
Connections 27
- Limine bootloader → Kernel startup: provides boot data
kernel/src/main.cpp - Machine hardware → Kernel startup: starts on
- Kernel startup → EEVDF scheduler: runs scheduling
- EEVDF scheduler → RIP feedback: adjusts quantum
- Kernel startup → Virtual memory: provides paging
- Kernel startup → Physical memory: manages physical pages
- Kernel startup → Kernel heap: provides heap
- Kernel startup → System calls: exposes services
- Kernel startup → Device drivers: initializes devices
- Device drivers → Input devices: feeds input core
- Kernel startup → Filesystem services: provides file access
- Filesystem services → ext4 filesystem: supports ext4
- Filesystem services → SAF support: supports SAF
- Kernel startup → TCP/IP stack: includes networking
- Desktop user → Desktop and window manager: interacts with
- Desktop and window manager → System calls: requests services
programs/desktop/main.cpp - Desktop and window manager → Software compositor: composes windows
- Desktop and window manager → Font rendering: renders text
- Desktop and window manager → Notepad app: launches app
- Notepad app → Input devices: reads shared events
programs/notepad/main.cpp - Notepad app → Font rendering: draws text
programs/notepad/main.cpp - Desktop and window manager → Userspace library: uses userspace runtime
- SAF archive maker → SAF archive format: writes format
res/saf/saf-make.c - SAF archive extractor → SAF archive format: reads format
res/saf/saf-extract.c - AVX memory operations → AVX intrinsics base: includes intrinsics
ablib/arch/x86_64/x86mem/memmove.c - AVX intrinsics base → AVX intrinsics: includes
ablib/arch/x86_64/x86mem/x86mem.h - AVX intrinsics base → AVX-512 intrinsics: includes
ablib/arch/x86_64/x86mem/x86mem.h