How anomal3/freeopensourcesystemai works
FossAi is a Rust operating system: UEFI starts the kernel, which initializes hardware and system services; users then interact through a Windows-style desktop and bundled applications. The repository also includes installation, networking, Linux compatibility, and system updates. The graph emphasizes those user-visible stages and the kernel’s filesystem, scheduling, and permission layers. Edges are limited to relationships shown in the sampled entry-point references or stated in the README; many unsampled subsystem internals are therefore not connected.
Main entry points: src/main.rs Kernel startup · ui/mod.rs Desktop shell · src/main.rs UEFI bootloader · fs/mod.rs Filesystem drivers
Components 25
Boot and install
- UEFI bootloader
crates/boot-uefi/src/main.rs - Boot handoff
crates/boot-uefi/src/handoff.rs - Boot volume
crates/boot-uefi/src/volume.rs - A/B slots
crates/boot-uefi/src/slot.rs - Installer
crates/installer/src/main.rs
Kernel services
- Kernel startup
crates/kernel/src/main.rs - Task scheduler
crates/kernel/src/sched/mod.rs - Synchronization
crates/kernel/src/sync.rs - Block devices
crates/kernel/src/block/mod.rs - Filesystem drivers
crates/kernel/src/fs/mod.rs - Virtual filesystem
crates/kernel/src/vfs/mod.rs - File permissions
crates/kernel/src/vfs/perm.rs - RAM volumes
crates/kernel/src/fs/ramvol.rs
Desktop and apps
- Desktop shell
crates/kernel/src/ui/mod.rs - UI toolkit
crates/mini-ui/src/lib.rs - User applications
crates/user-progs/src/lib.rs - First-run setup
crates/kernel/src/ui/oobe.rs
Networking
- Network stack
crates/kernel/src/net/mod.rs - Wi-Fi
crates/wifi/src/lib.rs - Remote desktop
crates/rdp/src/server.rs - Shared folders
crates/smb/src/client.rs
Compatibility and updates
- Linux compatibility
crates/kernel/src/linux/mod.rs - .NET runtime
crates/clr-vm/src/lib.rs - System updates
crates/osupdate/src/lib.rs
Other components
- User
Connections 24
- User → UEFI bootloader: starts system
- UEFI bootloader → Boot volume: opens volume
crates/boot-uefi/src/main.rs - UEFI bootloader → A/B slots: chooses slot
crates/boot-uefi/src/main.rs - UEFI bootloader → Boot handoff: hands off
crates/boot-uefi/src/main.rs - Boot handoff → Kernel startup: starts kernel
- Kernel startup → Task scheduler: initializes
crates/kernel/src/main.rs - Kernel startup → Block devices: initializes
crates/kernel/src/main.rs - Kernel startup → Filesystem drivers: initializes
crates/kernel/src/main.rs - Kernel startup → RAM volumes: mounts volumes
crates/kernel/src/main.rs - Filesystem drivers → Virtual filesystem: uses interface
crates/kernel/src/fs/mod.rs - Filesystem drivers → File permissions: checks access
crates/kernel/src/fs/mod.rs - Kernel startup → Desktop shell: starts services
crates/kernel/src/main.rs - Desktop shell → UI toolkit: uses toolkit
- User → Installer: installs system
- User → Desktop shell: uses desktop
- Desktop shell → User applications: launches apps
- Desktop shell → First-run setup: offers setup
- User → Network stack: uses network
- Network stack → Wi-Fi: supports Wi-Fi
- User → Remote desktop: connects remotely
- User → Shared folders: shares files
- User → Linux compatibility: runs Linux apps
- User → .NET runtime: runs .NET apps
- User → System updates: updates system