All Projects → Dentosal → rust_os

Dentosal / rust_os

Licence: MIT license
My hobby operating system microkernel written in Rust

Programming Languages

rust
11053 projects
python
139335 projects - #7 most used programming language
assembly
5116 projects
shell
77523 projects

Projects that are alternatives of or similar to rust os

saturn
A microkernel based operating system developed from scratch. This repository also includes all Saturn services and applications.
Stars: ✭ 21 (-36.36%)
Mutual labels:  osdev, operating-system, microkernel
Nebulet
A proof-of-concept microkernel that implements a WebAssembly "usermode" that runs in Ring 0.
Stars: ✭ 2,237 (+6678.79%)
Mutual labels:  osdev, operating-system, microkernel
MoonOS
MoonOS (just a kernel atm) is a micro kernel designed for the x86_64 and arm architecure.
Stars: ✭ 82 (+148.48%)
Mutual labels:  osdev, operating-system, microkernel
kwast
Rust operating system running WebAssembly as userspace in ring 0
Stars: ✭ 83 (+151.52%)
Mutual labels:  osdev, operating-system, microkernel
munix
🦠 µnix is a UNIX-like operating system
Stars: ✭ 57 (+72.73%)
Mutual labels:  osdev, operating-system, microkernel
Macaron
A sweet hobby made operating system written in C++ for x86 CPUs with GUI
Stars: ✭ 34 (+3.03%)
Mutual labels:  osdev, operating-system, hobby-project
poplar
Microkernel and userspace written in Rust exploring modern ideas
Stars: ✭ 217 (+557.58%)
Mutual labels:  osdev, operating-system, microkernel
Tofita
🍬 All-new kernel for @GreenteaOS
Stars: ✭ 112 (+239.39%)
Mutual labels:  osdev, operating-system
Skift
🥑 A simple, handmade, operating system with a graphical user interface.
Stars: ✭ 1,068 (+3136.36%)
Mutual labels:  osdev, operating-system
Boneos
💥 BoneOS Kernel and Operating System Source Tree
Stars: ✭ 96 (+190.91%)
Mutual labels:  osdev, operating-system
Greentea
🍵 Userspace of the @GreenteaOS
Stars: ✭ 56 (+69.7%)
Mutual labels:  osdev, operating-system
Reactos
A free Windows-compatible Operating System
Stars: ✭ 10,216 (+30857.58%)
Mutual labels:  osdev, operating-system
Dgos
Operating System
Stars: ✭ 90 (+172.73%)
Mutual labels:  osdev, operating-system
Aura Operating System
AuraOS, the Franco-English Operating System developed in C# using Cosmos!
Stars: ✭ 111 (+236.36%)
Mutual labels:  osdev, operating-system
Unikraft
Unikraft is an automated system for building specialized POSIX-compliant OSes known as unikernels. (Core repository)
Stars: ✭ 183 (+454.55%)
Mutual labels:  osdev, operating-system
Cyjon
A simple, clean code, multi-tasking operating system written in pure assembly language for 64-bit processors from the AMD64 family.
Stars: ✭ 184 (+457.58%)
Mutual labels:  osdev, operating-system
Dennix
Dennix is a unix-like hobbyist operating system written from scratch.
Stars: ✭ 53 (+60.61%)
Mutual labels:  osdev, operating-system
Cuteos
A 64-bit SMP-safe kernel for the PC architecture.
Stars: ✭ 51 (+54.55%)
Mutual labels:  osdev, operating-system
Mos
A hobby operating system developed from scratch
Stars: ✭ 169 (+412.12%)
Mutual labels:  osdev, operating-system
Toaru Nih
NOTICE: The ToaruOS-NIH Project has been MERGED UPSTREAM. This repository is now archived.
Stars: ✭ 66 (+100%)
Mutual labels:  osdev, operating-system

D7 operating system build status

Operating system for modern x86-64 computers, written in Rust.

Current features:

  • Multitasking: tickless event-driven round-robin scheduler
  • Executable programs, in ELF format
  • IPC: PubSub messaging and named pipes
  • Keyboard input
  • Virtual TTYs
  • Disk IO:
    • ATA PIO
    • VirtIO-blk (Read only)
  • Networking:
    • Drivers for NE2000 and RTL8139
    • IPv4 stack, supporting TCP, UDP, DNS, DHCP, ARP
  • Services
    • Serviced - startup and service status queries
    • Netd - Manages network interfaces and sockets

Roadmap items:

  • Shell
  • Virtual filesystem
  • Automated test suite
  • Porting software
    • Shell utilities
    • Text editor
    • Compilers
    • Self-hosting
  • (Better) support for...
    • Filesystems:
      • ramfs
      • ext2
      • some network filesystem, possibly a custom one
    • NICs:
      • Intel E1000 driver
      • VirtIO-net driver
    • USB and Audio devices

Development

This is a learning project. Currently code contributions are not accepted, as I'd like to learn to fix the problems myself. Forking the project is of course possible, if you'd like to develop something based on this. Feel free to submit issues on GitHub if you find any bugs.

Compiling and Running

The project is using Vagrant to virtualize the building environment. While being a little slower, this means that building the system on any supported platform should Just Work™. If you have a Unix-like system, install Qemu and

git clone https://github.com/Dentosal/rust_os.git && cd rust_os && ./autobuild.sh -ug

Sometimes shared folder feature will not work, and you get an error message about missing /vagrant etc. In that case installing vbguest plugin should help:

vagrant plugin install vagrant-vbguest

If you don't have a Unix-like system, then you should probably get one, they are pretty awesome compared to old DOS systems or Dentosal/rust_os. However, building on WSL is also possible. Just install the required tools (see Vagrantfile), and the run ./autobuild.sh -n

Dependencies

Building with default automated build system required that Vagrant is installed. I use VirtualBox as my Vagrant provider, but other providers should work as well.

Vagrant isn't actually required: on systems with apt, like Debian or Ubuntu, it should be reasonably easy to just install the dependencies by hand. The install script can be found from Vagrantfile.

You will also need a virtual machine. Qemu is suggested, but Bochs should work as well. VirtualBox can also be used, but the project isn't actively tested with it. Moreover, you must run it yourself.

Actually running

With Qemu and Vagrant installed, run ./autobuild.sh -ug. With Bochs: ./autobuild.sh -ugb. To use VirtualBox, run ./autobuild.sh -ugv.

Local development without Vagrant

cargo fmt && ./autobuild.sh

License

This project is licensed under the MIT license, which can be found in the file called LICENSE.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].