• Stars
    star
    115
  • Rank 305,916 (Top 7 %)
  • Language
    Rust
  • License
    MIT License
  • Created over 3 years ago
  • Updated about 3 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

An operating system written in Rust

Introduction

SteinsOS is an operating system featuring non-preemptive kernel targeting on single-core armv8 architecture.

SteinOS is derived from following tutorials and software distributions:

Redox OS: The state-of-the-art Rust Operating System.

RISC Vに従うCPUの上で動作するOSをRustで書く(CPU実験余興: Very useful blog about Rust bare-metal programming.

Writing an OS in Rust: An excellent series about kernel dev with Rust.

xv6: An Unix-like OS written in C.

Document

Below are SteinsOS docuements, one in Taiwanese, and the other in English.

Taiwanese

English

Prerequisites

Here's what you need:

$ curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh
$ sudo apt-get install -y qemu-system-aarch64

Build and run

Just run make qemu

$ make qemu

Feature

  • Preemptive multi-tasking
  • Memory management
  • Virtual Memory
  • File system
  • C library

Shell

$ ls
.
shell
ls
cat
READMD.md
$ cat ./README.md
...

Contribution

Pull requests, bug reports and any kind of suggestion are very welcomed.