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
- Host: GitHub
- URL: https://github.com/1tgr/rust-os
- Owner: 1tgr
- License: mit
- Created: 2015-10-31T13:50:17.000Z (over 10 years ago)
- Default Branch: master
- Last Pushed: 2023-01-20T23:11:55.000Z (over 3 years ago)
- Last Synced: 2024-12-06T19:10:12.573Z (over 1 year ago)
- Topics: kernel, rust
- Language: Rust
- Homepage:
- Size: 13.3 MB
- Stars: 24
- Watchers: 3
- Forks: 1
- Open Issues: 11
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
[](https://travis-ci.org/1tgr/rust-os)
A Rust operating system
=======================

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)