Sign inSign up

amitbahree/rust-microkernel

By amitbahree

•Updated 7 months ago

Educational microkernel in Rust — AArch64 QEMU virt. Build, boot, and learn OS fundamentals.

Image
Languages & frameworks
Operating systems
0

448

amitbahree/rust-microkernel repository overview

⁠rust-microkernel

Prebuilt dev environment for the Building a microkernel in Rust blog series. Includes Rust nightly, QEMU (x86_64 + AArch64), and the full source code.

⁠Quick start

docker pull amitbahree/rust-microkernel:latest
docker run -it amitbahree/rust-microkernel:latest
# Inside container:
./scripts/build-aarch64-virt.sh && ./scripts/run-aarch64-virt.sh
# Press Ctrl+A then X to exit QEMU

⁠What's inside

  • Rust nightly with aarch64-unknown-none and x86_64-unknown-none targets
  • QEMU (aarch64 + x86_64)
  • Full source code at /workspace
  • All demos: IPC, preemptive multitasking, MMU/virtual memory

⁠Demos

# Memory management + MMU (default)
./scripts/build-aarch64-virt.sh && ./scripts/run-aarch64-virt.sh

# IPC + cooperative scheduling
./scripts/build-aarch64-virt.sh demo-ipc && ./scripts/run-aarch64-virt.sh

# Preemptive multitasking
./scripts/build-aarch64-virt.sh demo-preempt && ./scripts/run-aarch64-virt.sh

Tag summary

Content type

Image

Digest

sha256:0d98c2d80…

Size

1.2 GB

Last updated

7 months ago

docker pull amitbahree/rust-microkernel