andreev-io / Rust-OS

x86-64 kernel in Rust.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Bare Metal OS

Following os.phil-opp.com. A simple kernel for x86_64.

Dependencies on MacOS

cargo install cargo-xbuild
rustup component add rust-src
cargo install bootloader
rustup component add llvm-tools-preview
cargo bootimage
brew install qemu

Build

cargo xbuild

Run

cd os/ && cargo xrun

Test

For all tests:

cargo xtest

For library tests:

cargo xtest --lib

About

x86-64 kernel in Rust.


Languages

Language:Rust 100.0%