ashleygwilliams / x86-kernel

a simple x86 kernel, extended with Rust
MIT License
224 stars 47 forks source link

x86 kernel

a simple x86 kernel, extended with Rust

this is my work following along with a @phil-opp's blog post series "A minimal x86 kernel"

prerequisites

virtualization

(if you are on OSX, ChromeOS, Windows, etc)

linux dependencies

utilities

you don't need these, but they are nice for viewing generated code.

up and running

  1. fork and clone this repository

  2. navigate into the repo directory: cd x86-kernel

  3. $ vagrant up

  4. $ vagrant ssh -- -Y -- -Y forwards graphics

  5. $ multirust default nightly-2015-11-19

    Sets your default rust to a stable nightly. The features needed to do OS work in Rust are not yet in a stable release, so you must use a nightly build.

  6. $ cd /vagrant

    The /vagrant directory is the virtualized directory that is synced with the / directory on your HD.

  7. $ make run