42-archive/kernel-rs
2018-02-05 18:13:10 +01:00
..
src stuck in the middle of paging 2018-02-05 18:13:10 +01:00
Cargo.toml stuck in the middle of paging 2018-02-05 18:13:10 +01:00
Makefile stuck in the middle of paging 2018-02-05 18:13:10 +01:00
README.md Update README.md 2018-02-04 19:48:28 +01:00
x86_64-KFS.json stuck in the middle of paging 2018-02-05 18:13:10 +01:00

based on Writing an OS in rust

compiling

dependencies

  • nasm compiles the bootcode
  • ld links the bootcode
  • grub-mkrescue builds the iso
  • xargo builds rust code
  • qemu runs the iso

on archlinux pacman -S make grub2 xorriso mtools binutils gcc qemu

rust setup

pacman -S rustup
rustup component add rust-src
cargo install xargo

docker

a standard development environment can be invoked:

docker run jzck/arch-kernel -it /usr/bin/zsh

clone the repo and make iso

running

make run in your host operating system to launch qemu gtk window