MOS is a Real-Time Operating System (RTOS) project consists of a preemptive kernel and a command-line shell(both in C++) with application components(e.g., GuiLite and FatFS).
.
βββ config.h // System configuration
βββ π arch // Architecture-specific
β βββ cpu.hpp // Init/Context switching asm
β
βββ π kernel // Kernel code
β βββ macro.hpp // Constant macros
β βββ type.hpp // Basic types
β βββ concepts.hpp // Type constraints
β βββ data_type.hpp // Basic data structures
β βββ alloc.hpp // Memory management
β βββ global.hpp // Kernel global variables
β βββ printf.h/.c // Thread-safe printf
β βββ task.hpp // Task control
β βββ sync.hpp // Sync primitives
β βββ async.hpp // Async stackless coroutines
β βββ scheduler.hpp // Scheduler
β βββ ipc.hpp // Inter-Process Communication
β βββ utils.hpp // Other utilities
β
βββ kernel.hpp // Kernel module
βββ shell.hpp // Command line