This repository contains the source code for the Writing an OS in Rust series at os.phil-opp.com.
- A Minimal x86 Kernel (source code)
- Entering Long Mode (source code)
- Set Up Rust (source code)
- Printing to Screen (source code)
- Allocating Frames (source code)
- Page Tables (source code)
- Remap the Kernel (source code)
- Kernel Heap (source code)
You need to have nasm
, grub-mkrescue
, xorriso
, qemu
and a nighly Rust compiler installed. Then you can run it using make run
.
Please file an issue if you run into any problems.
The source code is dual-licensed under MIT or the Apache License (Version 2.0). This excludes the blog
directory.