Skip to content

Jadedboat780/RustSystem

Repository files navigation

Rust System - minimal 64-bit kernel for x86 architecture on Rust

Rust

Loading

Rust System is an educational project aimed at exploring systems programming by building a simple operating system kernel in Rust for the x86_64 architecture. The project does not have a final production goal — it’s primarily a learning exercise. Current version: 0.0.2

Launch

Requirements:

Setup:

rustup component add llvm-tools-preview
cargo install bootimage

Build and run:

cargo bootimage
cargo run --release

Features

Implemented so far:

  • VGA‑based primitive terminal & cli commands
  • Serial port output for debugging
  • Interrupt handling (keyboard and PIT timer)
  • Virtual memory management using page tables & frame allocator
  • Dynamic heap allocator
  • CPU exception handling with TSS/double-fault stack
  • Datetime system
  • System calls
  • Kernel-level testing framework
  • Integration with bootloader and bootimage

Educational materials:

Notes

RustSystem is a work-in-progress and intended primarily for learning. The codebase, structure, and features are subject to change as the project evolves. Contributions, suggestions, and issues are welcome!

License

This project is licensed under the MIT License.

You are free to use, modify, and distribute this software for personal, educational, or commercial purposes, provided the license terms are met.

About

The minimum operating system kernel

Topics

Resources

License

Stars

Watchers

Forks

Languages