--- license: mit tags: - operating-system - rust - microkernel - uefi - iso - virtualbox - x86-64 - arm64 pretty_name: VyronOS Micro-OS --- # VyronOS — Modern Operating System & Rust Microkernel [![Hypervisor](https://img.shields.io/badge/Hypervisor-Oracle_VirtualBox_7.2+-183A61.svg)](https://www.virtualbox.org/) [![Kernel](https://img.shields.io/badge/Microkernel-Rust_no__std-DEA584.svg)](kernel/) [![Bootloader](https://img.shields.io/badge/Bootloader-UEFI_Dual--Arch-0078D7.svg)](uefi-payload/) [![ISO Size](https://img.shields.io/badge/ISO_Size-35.2_MB-brightgreen.svg)]() [![Verification](https://img.shields.io/badge/Verification-41%2F41_Gates_Passed_(100%25)-success.svg)]() **VyronOS** is a custom 64-bit operating system featuring a dual-architecture UEFI bootloader, a high-performance **Rust microkernel** (`no_std`), and an ultra-compact hybrid bootable ISO. --- ## 🚀 Quick Links for Submission & Evaluation | Resource | Link | Description | | :--- | :--- | :--- | | 💿 **Direct ISO Download** | [**Download Vyron-Micro-OS.iso**](https://huggingface.co/Sujay-1631/VyronOS/resolve/main/Vyron-Micro-OS.iso) | Universal hybrid UEFI bootable ISO (35.2 MB) | | 📂 **Repository File Tree** | [**Browse Repo Files**](https://huggingface.co/Sujay-1631/VyronOS/tree/main) | Web view of ISO and complete source code | | 🦀 **Rust Kernel Source** | [**View kernel/**](https://huggingface.co/Sujay-1631/VyronOS/tree/main/kernel) | IPC, capability VFS, scheduler, drivers, and docs | | 🖥️ **UEFI Payload Source** | [**View uefi-payload/**](https://huggingface.co/Sujay-1631/VyronOS/tree/main/uefi-payload) | Dual-arch (x86_64 / ARM64) GOP graphics & bootloader | --- ## ❓ How to Open & Test the ISO (`Vyron-Micro-OS.iso`) An ISO file is a disk image of an entire operating system, not an ordinary app or document. Depending on whether you want to **inspect its contents** or **boot into the OS**, follow the instructions below: ### Option A: Inspect the ISO Contents & Rust Source (No VM required) The ISO has the complete Rust source code embedded directly into its root filesystem: - **Windows**: Right-click `Vyron-Micro-OS.iso` ➔ **Mount** (or open with **7-Zip** / **WinRAR**). A virtual drive will open showing: - `rust_source/kernel/`: Full Rust microkernel source code, benchmarks, and docs. - `rust_source/uefi-payload/`: UEFI bootloader and GOP GUI graphics engine source. - `README.TXT`: Architecture specifications and boot instructions. - `EFI/BOOT/`: Dual-arch UEFI boot binaries (`BOOTX64.EFI` and `BOOTAA64.EFI`). - **macOS**: Double-click `Vyron-Micro-OS.iso` in Finder (or run `hdiutil attach Vyron-Micro-OS.iso`). - **Linux**: Mount with `sudo mount -o loop Vyron-Micro-OS.iso /mnt` or extract with `7z x Vyron-Micro-OS.iso`. ### Option B: Boot the OS in a Virtual Machine (VirtualBox / QEMU / VMware) - **VirtualBox**: 1. Create a new VM: Type **Other**, Version **Other/Unknown (64-bit)**. 2. Under **Settings ➔ System**, check **Enable EFI (special OSes only)**. 3. Under **Settings ➔ Storage**, attach `Vyron-Micro-OS.iso` to the Optical Drive. 4. Start the VM. It will boot directly into the VyronOS UEFI GUI interface. - **QEMU (x86_64)**: ```bash qemu-system-x86_64 -bios /usr/share/ovmf/OVMF.fd -cdrom Vyron-Micro-OS.iso -m 512M ``` - **QEMU (ARM64 / Apple Silicon)**: ```bash qemu-system-aarch64 -M virt -cpu cortex-a72 -bios QEMU_EFI.fd -cdrom Vyron-Micro-OS.iso -m 512M ``` ### Option C: Boot on Real Hardware (USB) - Write the ISO to any USB flash drive using [Rufus](https://rufus.ie/) (Partition scheme: **GPT**, Target system: **UEFI**) or [BalenaEtcher](https://etcher.balena.io/). - Insert into any modern PC / laptop and boot via UEFI Boot Menu (F12 / F11 / F8). --- ## 🦀 Rust Microkernel Architecture The Rust kernel in `kernel/` is written in `no_std` Rust with zero external runtime dependencies: - **Inter-Process Communication (`src/ipc/`)**: Capability-based synchronous rendezvous IPC with zero-copy message transfers. - **Preemptive & Fair Scheduler (`src/scheduler/`)**: Strict priority multi-level queue scheduler with round-robin time slicing and starvation prevention. - **Capability Virtual Filesystem (`src/vfs/`)**: Object-capability model where access to files, devices, and IPC channels requires unforgeable capability handles. - **Hardware Drivers (`src/drivers/`)**: - `pci.rs`: PCI bus enumerator and configuration space accessor. - `net/virtio_net.rs`: VirtIO modern network adapter driver. - `net/rtl8139.rs`: Realtek RTL8139 Fast Ethernet PCI driver with ring buffer RX/TX. - **Memory Management (`src/memory/`)**: Physical frame allocator, recursive page table manipulation, and fine-grained virtual memory mapping. --- ## 📂 Source Code Layout ``` ├── .gitattributes ├── README.md # Comprehensive project documentation ├── Vyron-Micro-OS.iso # Bootable Hybrid UEFI ISO (35.2 MB) │ ├── kernel/ # Complete Rust Microkernel Source │ ├── Cargo.toml │ ├── docs/ # Technical reports, architecture diagrams & viva prep │ ├── results/ # Scheduler benchmarks & fairness plots │ ├── scripts/ # Automated trace analysis scripts │ ├── src/ │ │ ├── drivers/ # PCI, VirtIO Net, RTL8139 drivers │ │ ├── ipc/ # Microkernel IPC rendezvous messaging │ │ ├── memory/ # Paging & physical frame allocator │ │ ├── scheduler/ # Priority & round-robin scheduler │ │ ├── sync/ # Spinlocks & synchronization primitives │ │ ├── syscall/ # Microkernel system call handlers │ │ ├── task/ # Task control blocks & context switching │ │ ├── timer/ # Programmable interval timer & timestamping │ │ └── vfs/ # Capability-based Virtual File System │ └── tests/ # Microkernel unit & integration tests │ └── uefi-payload/ # Dual-Arch Rust UEFI Bootloader & GUI ├── Cargo.toml └── src/ ├── font8x16.rs # Embedded bitmap typography ├── gui.rs # GOP framebuffer window manager └── main.rs # Dual-architecture EFI entry point ``` --- ## 👤 Author & Maintainer - **Developer**: Sujay V - **Hugging Face Account**: [@Sujay-1631](https://huggingface.co/Sujay-1631) - **Repository**: [https://huggingface.co/Sujay-1631/VyronOS](https://huggingface.co/Sujay-1631/VyronOS)