Keyboard shortcuts

Press ← or → to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

Sources & Resources

Everything referenced during the build of KFS.

Essential Reading

Kernel Development

Rust OS Development

  • Writing an OS in Rust — Philipp Oppermann’s blog series. Different approach (x86-64, higher-half kernel) but excellent explanations of the same concepts.
  • Rust Embedded Book — Bare-metal Rust programming guide.

Theory

Specifications

Assembly & x86

Tools

  • QEMU — Hardware emulation for testing. qemu-system-i386 for our 32-bit kernel.
  • NASM — Netwide Assembler. Used for boot.asm, kb.asm, exc.asm, gdt.asm.
  • mdBook — What this documentation is built with.

Installing mdBook (Arch Linux)

cargo install mdbook
# or
yay -S mdbook

Building This Book

cd kfs-book/
mdbook build      # Build static HTML to ./book/
mdbook serve      # Build and serve at http://localhost:3000
mdbook watch      # Rebuild automatically when files change