Skip to content
/ rOSt Public

Bits of an operating system written in rust

Notifications You must be signed in to change notification settings

docweirdo/rOSt

Repository files navigation

rOSt

This is a project for university containing bits and pieces of what might become an operating system for 32 bit ARM. It is written in Rust for the AT91RM9200, specifically the Portux920T.

Testing

Requirements to build

  • arm-none-eabi-gcc in the PATH
  • Rust via rustup in the PATH
    • install rustup
    • $ rustup default nightly
    • $ rustup component add rust-src

Steps

  1. Run $ cargo build to compile (default target path: target/armv4t-none-eabi/debug/rost) to binary elf

Requirements to run

Steps

  1. Run $ cargo run to start qemu with our kernel

Useful links

Todo:

  • replace external allocator with own
  • implement correct differentiation for system interrupt handler (line 1)
  • document every important function, macro or variable
  • make syscalls language agnostic (c callable)
  • look into thread signaling and signal handlers
  • look into struct assiociated methods for TCB instead of direct access or functions

About

Bits of an operating system written in rust

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages