Giter Site home page Giter Site logo

rustos's Introduction

RustOS

This OS started as a class project for CS 3210 at Georgia Tech, but I have continued developing new features.

Class Pieces:

  • Bootloader
  • GPIO
  • UART Shell
  • FAT32
  • Exception Handlers
  • Preemptive Scheduling
  • Virtual Memory Management
  • Loading user-space processes

Pieces I developed:

  • Multi-core support (boot the other 3 cores on the RPi 3)*
  • Suspend/Resume, process affinity, process scheduling statistics
  • Ethernet (using USPi)*
  • Custom network stack including ARP, IPv4, TCP and ICMP echo
  • Telnet Shell
  • Interface to the RPi DMA devices
  • Initializing the frame buffer and mirroring shell to screen
  • Hypervisor using the ARMv8 virtualization exception level
  • Virtualized interrupt controllers timers, and UART for the hypervisor guests
  • Virtualized NIC and fork of USPi that enables pass-through of MAC addresses so that hypervisor guests can act as different network devices
  • Lock registry to enable runtime inspection of locks and statistics tracking
  • Timer-based profiling of kernel/hypervisor and guest
  • Symbolification of kernel/hypervisor when viewing profiling results by processing DWARF symbols using gimli
  • (very early stages) Support for Khadas VIM3, a Pi-like board but much more powerful

* Items with an asterisk were added to the CS 3210 course curriculum after I had added the features

Building

Cap'n Proto is required for lib/tracing. On Ubuntu, this can be installed with apt install capnproto libcapnp-dev.

The build scripts use elftools which can be installed with pip install pyelftools.

kern/set-nightly.sh will configure rustup to use an appropriate nightly for this project.

rustos's People

Contributors

man9ourah avatar pear0 avatar persona0220 avatar qwaz avatar tsgates avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.