Simple OS kernel written in Rust following this tutorial.
- VGA read/write
- Serial IO
- Basic IDT setup with breakpoint handler and double-fault handler
- GDT setup
- Integration and unit tests
rustup override add nightly
- we have to use nightly Rust for certain feature gatescargo install cargo-xbuild
rustup component add rust-src
cargo install bootimage --version 0.4.0
bootimage build
- To run in QEMU:
bootimage run
- To run unit tests:
cargo test
- To run integration tests:
bootimage test