An open API service indexing awesome lists of open source software.

https://github.com/1tgr/rust-os

An operating system in Rust
https://github.com/1tgr/rust-os

kernel rust

Last synced: 6 months ago
JSON representation

An operating system in Rust

Awesome Lists containing this project

README

          

[![Build Status](https://travis-ci.org/1tgr/rust-os.svg?branch=master)](https://travis-ci.org/1tgr/rust-os)

A Rust operating system
=======================

![Screenshot](src/screenshot.png)

Based on the [Rust barebones kernel](https://github.com/thepowersgang/rust-barebones-kernel).

Rustdocs for the kernel: http://1tgr.github.io/rust-os/kernel/

Features:
- Targets 64-bit x86
- Kernel has embedded unit tests
- Scheduler
- Threads
- Processes
- Memory manager
- Demand paging
- Memory protection
- Shared memory
- Input and output
- Keyboard input
- Mouse input
- Text-mode output
- Linear frame buffer (on QEMU/Bochs/VirtualBox)
- User mode
- Separation between user mode (ring 3) and kernel mode (ring 0)
- Syscall interface (via SYSCALL/SYSRET instructions)
- C runtime (Newlib)
- Cairo graphics
- FreeType fonts
- Graphics compositor

Works in progress:
- Window system
- 32-bit ARM target (Raspberry Pi)

Todo:
- File system
- Networking

Wallpaper credit: [by Dollar Gill on Unsplash](https://unsplash.com/photos/aXw8_Mk0LXU)